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
When I use this code:
fluent.ThemeData(accentColor: SystemTheme.accentInstance.accent);
I get this error in VS Code:
The argument type 'Color' can't be assigned to the parameter type 'AccentColor?'.dart(argument_type_not_assignable)
Also, is there any possibility for usage like in Flutter Material UI, eg. like this:
material.ThemeData(brightness: material.Brightness.dark);
aka. using Brightness, and afterwards use it like this:
MaterialApp(theme: this.theme, darkTheme: this.darkTheme, themeMode: this.themeMode);
I know, that fluent_ui has themeMode argument, but it doesn't have theme and darkTheme args.
theme
darkTheme
Is that possible? Thanks
The text was updated successfully, but these errors were encountered:
On the fluent UI example app, here's how it's done:
AccentColor get systemAccentColor => AccentColor('normal', { 'darkest': SystemTheme.accentInstance.darkest, 'darker': SystemTheme.accentInstance.darker, 'dark': SystemTheme.accentInstance.dark, 'normal': SystemTheme.accentInstance.accent, 'light': SystemTheme.accentInstance.light, 'lighter': SystemTheme.accentInstance.lighter, 'lightest': SystemTheme.accentInstance.lightest, });
It has both. Check the example app
Sorry, something went wrong.
Oh, thanks. I have just picked the code from README in Accent color section. However, thanks.
PS I know you have Discord, but I think you also should enable Discussions. They are pretty nice.
ProgressBar
No branches or pull requests
When I use this code:
I get this error in VS Code:
Also, is there any possibility for usage like in Flutter Material UI, eg. like this:
aka. using Brightness, and afterwards use it like this:
I know, that fluent_ui has themeMode argument, but it doesn't have
theme
anddarkTheme
args.Is that possible?
Thanks
The text was updated successfully, but these errors were encountered: