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)
2
likes
50
pub points
49%
popularity

Publisher

verified publisherlinkfive.io

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

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on in_app_purchases_intl