tool_locale 0.0.3 copy "tool_locale: ^0.0.3" to clipboard
tool_locale: ^0.0.3 copied to clipboard

Contains common arch components for locale

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add tool_locale

With Flutter:

 $ flutter pub add tool_locale

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  tool_locale: ^0.0.3

Alternatively, your editor might support dart pub get or 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';