cupertino_localizations 1.0.0+1

You can use it to fixed the error The getter 'pasteButtonLabel' was called on null. if you wan't use DefaultCupertinoLocalizations.

cupertino_localizations #

Provider localization for cupertino. just en,ar and zh if you don't wont to use the default. You can use it to fixed the error: The getter 'pasteButtonLabel' was called on null.

Usage #

MaterialApp(
  locale: Locale('ar', ''),
  localizationsDelegates: [
    GlobalCupertinoLocalizations.delegate,
    GlobalMaterialLocalizations.delegate,
    GlobalWidgetsLocalizations.delegate,
  ],
  supportedLocales: [
    const Locale('zh', 'CH'),
    const Locale('ar', ''),
    const Locale('en', 'US'),
  ],
 ...
}

Contributing #

Feel free to send me a pull request to add your langage.

Acknowledgment #

This library base on the work of crazy365966834 thank you.

0
likes
40
pub points
66%
popularity

You can use it to fixed the error The getter 'pasteButtonLabel' was called on null. if you wan't use DefaultCupertinoLocalizations.

Repository (GitHub)
View/report issues

Uploader

mohpro66@gmail.com

License

MIT (LICENSE)

More

Packages that depend on cupertino_localizations