in_app_purchases_intl 1.0.1 copy "in_app_purchases_intl: ^1.0.1" to clipboard
in_app_purchases_intl: ^1.0.1 copied to clipboard

Intl Package for common translations in your In App Purchase App. made by www.linkfive.io

example/example.md

Example #

Import #

import 'package:in_app_purchases_intl/in_app_purchases_intl.dart';

MaterialApp as localizationsDelegates #

MaterialApp(
  // ...
  localizationsDelegates: [
    PaywallLocalizations.delegate,
    // ...
  ],
  // ...
);

Get your Strings #

PaywallLocalizations.of(context)!.weekly
PaywallLocalizations.of(context)!.nweek(4)

Or be confident and use our helper class to use en as the fallback when the language is not supported.

PaywallL10NHelper.of(context).weekly
PaywallL10NHelper.of(context).nweek(4)
3
likes
50
points
53
downloads

Publisher

verified publisherlinkfive.io

Weekly Downloads

Intl Package for common translations in your In App Purchase App. made by www.linkfive.io

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on in_app_purchases_intl