Skip to main content

sinew_l10n 1.1.0 copy "sinew_l10n: ^1.1.0" to clipboard
sinew_l10n: ^1.1.0 copied to clipboard

English and Indonesian translations of Sinew's local error messages.

example/README.md

sinew_l10n example #

A complete app that uses this package, with every platform runner, is the repository's example: a paged list of orders through Sinew's pager, its Riverpod mixins and Camouflage's CamoPagedList.

Usage #

Add the delegates to your app, then render an error with the localizer:

MaterialApp(
  localizationsDelegates: SinewLocalizations.localizationsDelegates,
  supportedLocales: SinewLocalizations.supportedLocales,
  home: const Home(),
);

// in a build method
final localizer = SinewLocalizer.of(context);
Text(error.displayMessage(localizer));

Pass appStrings: to SinewLocalizer.of to translate your own error keys through the same localizer.

0
likes
160
points
216
downloads

Documentation

Documentation
API reference

Publisher

verified publishersrctool.com

Weekly Downloads

English and Indonesian translations of Sinew's local error messages.

Repository (GitHub)
View/report issues
Contributing

Topics

#l10n #localization #error-handling

License

Apache-2.0 (license)

Dependencies

flutter, flutter_localizations, intl, sinew_exception

More

Packages that depend on sinew_l10n