attribute_localizations

Last updated:

0 purchases

attribute_localizations Image
attribute_localizations Images
Add to Cart

Description:

attribute localizations

Attribute Localizations delivers a prepeard localizations labels for most used attributes.
Getting Started #

Add to your dependencies:

dependencies:
attribute_localization: ^1.0.0
copied to clipboard

Add delegates in your MaterialApp widget:

MaterialApp(
// ...
localizationsDelegates: [
AttributeLocalizations.delegate,
],
supportedLocales: [
const Locale('en'),
const Locale('ar'),
/// add other locales for now (en, ar)
],
// ...
)
copied to clipboard

Use it:

/// ...

TextFormField(
decoration: InputDecoration(
labelText: AttributeLocalizations.of(context).name,
// figer out more, AttributeLocalizations.of(context).email, etc..
),
)

/// ..
copied to clipboard

License:

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

Files In This Product:

Customer Reviews

There are no reviews.