Unofficial Bavatar dart app for android, iOS and macOS

Overview

Unofficial Bavatar dart app for android, iOS and macOS

coverage style: very good analysis License: MIT

Generated by the Very Good CLI ๐Ÿค–


Getting Started ๐Ÿš€

This project contains 3 flavors:

  • development
  • staging
  • production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

# Development
$ flutter run --flavor development --target lib/main_development.dart # dont add --flavor for macos

# Staging
$ flutter run --flavor staging --target lib/main_staging.dart # dont add --flavor for macos

# Production
$ flutter run --flavor production --target lib/main_production.dart # dont add --flavor for macos

*Bavatar works on iOS, Android, and Web.


Running Tests ๐Ÿงช

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

Working with Translations ๐ŸŒ

This project relies on flutter_localizations and follows the official internationalization guide for Flutter.

Adding Strings

  1. To add a new localizable string, open the app_en.arb file at lib/l10n/arb/app_en.arb.
{
    "@@locale": "en",
    "bavatarAppBarTitle": "Bavatar",
    "@bavatarAppBarTitle": {
        "description": "Text shown in the AppBar of the Bavatar Page"
    }
}
  1. Then add a new key/value and description
{
    "@@locale": "en",
    "bavatarAppBarTitle": "Bavatar",
    "@bavatarAppBarTitle": {
        "description": "Text shown in the AppBar of the Bavatar Page"
    },
    "helloWorld": "Hello World",
    "@helloWorld": {
        "description": "Hello World Text"
    }
}
  1. Use the new string
import 'package:bavatar/l10n/l10n.dart';

@override
Widget build(BuildContext context) {
  final l10n = context.l10n;
  return Text(l10n.helloWorld);
}

Adding Supported Locales

Update the CFBundleLocalizations array in the Info.plist at ios/Runner/Info.plist to include the new locale.

    ...

    <key>CFBundleLocalizations</key>
	<array>
		<string>en</string>
		<string>es</string>
	</array>

    ...

Adding Translations

  1. For each supported locale, add a new ARB file in lib/l10n/arb.
โ”œโ”€โ”€ l10n
โ”‚   โ”œโ”€โ”€ arb
โ”‚   โ”‚   โ”œโ”€โ”€ app_en.arb
โ”‚   โ”‚   โ””โ”€โ”€ app_es.arb
  1. Add the translated strings to each .arb file:

app_en.arb

{
    "@@locale": "en",
    "bavatarAppBarTitle": "Bavatar",
    "@bavatarAppBarTitle": {
        "description": "Text shown in the AppBar of the Bavatar Page"
    }
}

app_es.arb

{
    "@@locale": "es",
    "bavatarAppBarTitle": "Contador",
    "@bavatarAppBarTitle": {
        "description": "Texto mostrado en la AppBar de la pรกgina del contador"
    }
}
You might also like...

Note app is open-source notes app for Android & ios. It is built with Dart on top of Google's Flutter Framework.

 Note app is open-source notes app for Android & ios. It is built with Dart on top of Google's Flutter Framework.

Note App โœ๐Ÿป Note App & SqfLite &GetX [MVC pattern] ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Note app is open-source notes app for Android & ios. It is built with Dart on top of Googl

Nov 29, 2022

Task List application developed in Dart language with SDK Flutter for Android, iOS and Web

Task List application developed in Dart language with SDK Flutter for Android, iOS and Web

Task List application developed in Dart language with SDK (Software Development Kit) Flutter for Android, iOS and Web.

Jun 2, 2022

Flutter ANDROID & IOS app by Dart

dicee A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

Dec 18, 2021

Caffodils - Download everything | Flutter app for Android and IOS. Download Video, Reels, Shorts, Music, Images, Files from Instagram, Facebook and Youtube

caffodils Caffodils - Download everything Flutter app for Android and IOS. Download Video, Reels, Shorts, Music, Images, Files from Instagram, Faceboo

Oct 24, 2022

Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler temperature and check the psi of the tires.

Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler temperature and check the psi of the tires.

Tesla App Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler tem

Dec 18, 2022

Decentralized SkyDB-based alternative to Twitter, YouTube and Instagram with a native iOS, Android and web app.

Decentralized SkyDB-based alternative to Twitter, YouTube and Instagram with a native iOS, Android and web app.

SkyFeed SkyFeed is a decentralized SkyDB-based alternative to Twitter, YouTube and Instagram with a native Android, web and (soon) iOS app. Use You ne

Oct 28, 2022

๐Ÿ“ฑ CyBear Jinni App is the app to control CyBear Jinni Hub ๐Ÿ’ก remotely from your Android, IOS and Web Browser

๐Ÿ“ฑ CyBear Jinni App is the app to control CyBear Jinni Hub ๐Ÿ’ก remotely from your Android, IOS and Web Browser

CyBear Jinni App Welcome This repository is in charge of the CyBear Jinni App and is part of the CyBear Jinni Smart Home system. The CyBear Jinni App

Dec 1, 2022

A Flutter plugin to retrieve and manage contacts on Android and iOS devices. Maintainer: @lukasgit

A Flutter plugin to retrieve and manage contacts on Android and iOS devices. Maintainer: @lukasgit

contacts_service A Flutter plugin to access and manage the device's contacts. Usage To use this plugin, add contacts_service as a dependency in your p

Dec 28, 2022
Owner
Pishure
Pishure
Sharezone is a collaborative school organization app for iOS, Android, macOS and web.

Download Sharezone Android iOS macOS Web Sharezone is a collaborative school organization app for iOS, Android, macOS and web. With Sharezone pupils,

Sharezone 93 Dec 18, 2022
Music reader for online data (Google Drive implementation). Cross platform goal : iOS, Android, MacOS, Windows

omusic A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this i

JeanNicolasdeLamballerie 0 Nov 30, 2021
Front-end of multiplayer web3 games implemented with Flutter to run on all platforms (Web, Android, iOS, Linux, Window, macOS, TV-OS)

Front-end of multiplayer web3 games implemented with Flutter to run on all platforms (Web, Android, iOS, Linux, Window, macOS, TV-OS)

R-Team 5 Nov 15, 2022
Unofficial Dart SDK for Decentralized Social / DeSo.org

DeSo Dart SDK Unofficial Dart SDK for Decentralized Social / DeSo.org Report Bug ยท Request Feature Table of Contents About the Project Built With Gett

Deverse 8 Sep 16, 2022
Lightweight SMS Misr gateway implementation in dart (unofficial).

palestine_sms_misr (unofficial) Part of PalestineDevelopers Lightweight SMS Misr gateway implementation in dart (unofficial). Table Of Contents Featur

Palestine Developers 3 Mar 10, 2022
A cross-platform (Android/Windows/macOS/Linux) USB plugin for Flutter

quick_usb A cross-platform (Android/Windows/macOS/Linux) USB plugin for Flutter Usage List devices List devices with additional description Get device

Woodemi Co., Ltd 39 Oct 1, 2022
The unofficial conference app for DroidKaigi 2018 Tokyo

DroidKaigi 2018 Flutter App The unofficial conference app for DroidKaigi 2018 Tokyo DroidKaigi 2018 is a conference tailored for developers on 8th and

Yusuke Konishi 515 Nov 4, 2022
A self-hosted controller for mobile and macOS built using the Flutter framework.

LunaSea LunaSea is a fully featured, open source self-hosted controller! Focused on giving you a seamless experience between all of your self-hosted m

Comet.Tools 844 Jan 2, 2023
flutter macos music ้Ÿณไนๆ’ญๆ”พๅ™จ

FLUTTER ๅฎž็Žฐmacos้Ÿณไนๆ’ญๆ”พๅ™จ ๆŽฅๅฃๆ„Ÿ่ฐข NeteaseCloudMusicApi ๆณจๆ„ไบ‹้กน ็”ฑไบŽไพ่ต–dart_vlc ้œ€่ฆๅฎ‰่ฃ…cmake brew install cmake ่ง†้ข‘่ฟ”ๅ›ž็š„ๆ—ถๅ€™ๆŠฅ้”™่ฏทๆŸฅ็œ‹dart_vlc Issues ไฟฎๅค,ไฝœ่€…ๆ˜ฏๆ‰‹ๅŠจ่ฟ›่กŒไบ†ไฟฎๅค ๅŠŸ่ƒฝ ๆญŒๆ›ฒๆ’ญๆ”พ ๆญŒๅ• ๆญŒๅ•่ฏฆ

shanRaw 5 Dec 31, 2021
๐ŸŽž Flutter media playback, broadcast & recording library for Windows, Linux & macOS. Written in C++ using libVLC & libVLC++. (Both audio & video)

dart_vlc Flutter media playback, broadcast, recording & chromecast library for Windows, Linux & macOS. Written in C++ using libVLC & libVLC++. Install

Hitesh Kumar Saini 417 Dec 29, 2022