quotesbook
flutter project for quotesbook mobile app.
setup
- add lib/environment.dart file with
class environment {
static const auth_token = "...";
static const server_host = "...";
}
remember to add the google-services.json to the android/app folder. get this from the firebase
project.
add android/key.properties to sign apk/bundle.
to generate internationalizations
- update the
lib/helpers/app_localizations.dart
with the new texts.¡ - create base arb base file for localization.
flutter pub run intl_translation:extract_to_arb --output-dir=lib/l10n lib/helpers/app_localizations.dart
- update the files
i10n/intl_*.arb
languages specific files with translations. - generate source code for localization messages from arb files.
flutter pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/helpers/app_localizations.dart lib/l10n/intl_*.arb
Comments are closed.