fluppy_localization 1.2.1 fluppy_localization: ^1.2.1 copied to clipboard
Base Localization with Provider
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fluppy_localization
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
fluppy_localization: ^1.2.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fluppy_localization/base_localization.dart';
import 'package:fluppy_localization/languages/arabic_text.dart';
import 'package:fluppy_localization/languages/english_text.dart';
import 'package:fluppy_localization/languages/language_localization.dart';
import 'package:fluppy_localization/languages/turkish_text.dart';
import 'package:fluppy_localization/localization.dart';
import 'package:fluppy_localization/localizations/actions_localization.dart';
import 'package:fluppy_localization/localizations/auth_localization.dart';
import 'package:fluppy_localization/localizations/error_localization.dart';
import 'package:fluppy_localization/localizations/internet_localization.dart';
import 'package:fluppy_localization/localizations/search_localization.dart';
import 'package:fluppy_localization/localizations/settings_localization.dart';
import 'package:fluppy_localization/localizations/theme_localization.dart';
import 'package:fluppy_localization/localizations/view_localization.dart';
import 'package:fluppy_localization/view/dialog_button.dart';
import 'package:fluppy_localization/view/language_button.dart';
import 'package:fluppy_localization/view/language_dialog.dart';