Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static type for EasyLocalization.assetLoader (#524) #598

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

alexeyinkin
Copy link

@@ -65,8 +65,7 @@ class EasyLocalization extends StatefulWidget {
/// Class loader for localization files.
/// You can use custom loaders from [Easy Localization Loader](https://github.com/aissat/easy_localization_loader) or create your own class.
/// @Default value `const RootBundleAssetLoader()`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still correct?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

  1. One can use the loaders from that package, after Delete local AssetLoader class, update dependencies (#46) easy_localization_loader#50 is merged and published.
  2. One can still create their own class.
  3. The default is still const RootBundleAssetLoader().

@bw-flagship
Copy link
Collaborator

@alexeyinkin I suppose this is ready to merge after resolving the conflicts, right?

@alexeyinkin
Copy link
Author

@bw-flagship yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Static typing for AssetLoader
3 participants