tool_locale 0.0.4
tool_locale: ^0.0.4 copied to clipboard
Contains common arch components for locale
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add tool_locale
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
tool_locale: ^0.0.4
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:tool_locale/data/models/locale_extension.dart';
import 'package:tool_locale/data/providers/locale_provider.dart';
import 'package:tool_locale/declaration/tool_locale_module.dart';
import 'package:tool_locale/declaration/tool_locale_module_impl.dart';
import 'package:tool_locale/declaration/tool_locale_params.dart';
import 'package:tool_locale/locale.dart';