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
MonarchTheme
This feature would help some initialization when using additional tools to generate theme.
The text was updated successfully, but these errors were encountered:
Would something like this work for you?
import 'package:monarch_annotations/monarch_annotations.dart'; @AsyncMonarchTheme('Fancy Light Theme') Future<ThemeData> get fancyLightTheme async { var theme = await someFutureThatReturnsThemeData(); return theme; }
Sorry, something went wrong.
@fertrig Yes, that would help, because sometimes we have to init theme with other tools that has to be initialised beforehand.
No branches or pull requests
This feature would help some initialization when using additional tools to generate theme.
The text was updated successfully, but these errors were encountered: