flutter_cupertino_localizations

Last updated:

0 purchases

flutter_cupertino_localizations Image
flutter_cupertino_localizations Images
Add to Cart

Description:

flutter cupertino localizations

flutter_cupertino_localizations #
provider localization for cupertino.
just en and zh, because others is not finished yet.
and there is no plan to do it, because I can't those languages.
You can use it to fixed the error:
The getter 'pasteButtonLabel' was called on null.
if you wan't use DefaultCupertinoLocalizations.
CupertinoLocalizations 居然只提供英文的 DefaultCupertinoLocalizations,真特么的想说脏话。
Usage #
MaterialApp(
locale: Locale('zh', 'CH'),
localizationsDelegates: [
GlobalCupertinoLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
supportedLocales: [
const Locale('zh', 'CH'),
const Locale('en', 'US'),
],
...
}
copied to clipboard
Getting Started #
This project is a starting point for a Dart
package,
a library module containing code that can be shared easily across
multiple Flutter or Dart projects.
For help getting started with Flutter, view our
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.