Last updated:
0 purchases
igbo localization
igbo_localization #
This package provides localization support for Igbo locale.
Getting Started #
Depend on it #
Add this to your package's pubspec.yaml file:
dependencies:
igbo_localization: <latest version>
copied to clipboard
Install it #
You can install packages from the command line:
with Flutter:
$ flutter pub get
copied to clipboard
Import it #
import 'package:igbo_localization/igbo_localization.dart';
copied to clipboard
Use it #
MaterialApp(
localizationsDelegates: [
...
IgMaterialLocalizations.delegate,
IgCupertinoLocalizations.delegate,
IgWidgetLocalizations.delegate
],
supportedLocales: [
const Locale('ig', ''),
],
locale: Locale('ig'),
);
copied to clipboard
if you use EasyLocalizations
EasyLocalization(
supportedLocales: const [
Locale('en'),
Locale('ig')
],
path: 'assets/translations',
fallbackLocale: const Locale('en'),
startLocale: const Locale('ig'),
child: const MyApp(),
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.