cupertino_localizations 0.0.2+1 copy "cupertino_localizations: ^0.0.2+1" to clipboard
cupertino_localizations: ^0.0.2+1 copied to clipboard

outdated

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 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
30
pub points
41%
popularity

Publisher

unverified uploader

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

License

MIT (LICENSE)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on cupertino_localizations