We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Missing get path of directory
Good solution will be add 'path' variable For declared asset directory in pubspec.yaml: -assets/fonts/
And for gen code: Assets.fonts.path return String path 'assets/fonts'
Assets.fonts.path
No response
The text was updated successfully, but these errors were encountered:
What is the use case of getting the directory?
Sorry, something went wrong.
This can be particularly useful when working with groups of assets, for example init easy localization:
EasyLocalization( supportedLocales: [Locale('en', 'US'), Locale('de', 'DE')], path: 'assets/translations', // <-- path fallbackLocale: Locale('en', 'US'), child: MyApp() ),
Is the initialization only happened once?
No branches or pull requests
Is there an existing issue for this?
Describe the problem
Missing get path of directory
Describe the solution
Good solution will be add 'path' variable
For declared asset directory in pubspec.yaml:
-assets/fonts/
And for gen code:
Assets.fonts.path
return String path 'assets/fonts'Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: