withBrightness method
Returns a color scheme with a different brightness.
Implementation
ColorScheme withBrightness(Brightness brightness) {
return ColorScheme(brightness, primary: _primary);
}
Returns a color scheme with a different brightness.
ColorScheme withBrightness(Brightness brightness) {
return ColorScheme(brightness, primary: _primary);
}