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

This package provides localization support for Hausa locale

hausa_localization #

This package provides localization support for Hausa locale.

Getting Started #

Depend on it #

Add this to your package's pubspec.yaml file:

dependencies:
  hausa_localization: <latest version>

Install it #

You can install packages from the command line:

with Flutter:

$ flutter pub get

Import it #

import 'package:hausa_localization/hausa_localization.dart';

Use it #

MaterialApp(
      localizationsDelegates: [
        ...
        HaMaterialLocalizations.delegate,
        HaCupertinoLocalizations.delegate,
        HaWidgetLocalizations.delegate
      ],
      supportedLocales: [
        const Locale('ha', ''),
      ],
      locale: Locale('ha'),
    );

if you use EasyLocalizations

    EasyLocalization(
      supportedLocales: const [
        Locale('en'),
        Locale('ha')
      ],
      path: 'assets/translations',
      fallbackLocale: const Locale('en'),
      startLocale: const Locale('ha'),
      child: const MyApp(),
    ),
0
likes
80
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

This package provides localization support for Hausa locale

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_localizations, intl, localized

More

Packages that depend on hausa_localization