setTheme static method
dynamic
setTheme({})
Implementation
static setTheme({
Color? appBarColor,
Color? appBarTextColor,
Color? backgroundColor,
Color? mainColor,
Color? lineColor,
Brightness? brightness,
}) {
if (appBarColor != null) {
fastTheme.appBarColor = appBarColor;
}
if (appBarTextColor != null) {
fastTheme.appBarTextColor = appBarTextColor;
}
if (backgroundColor != null) {
fastTheme.backgroundColor = backgroundColor;
}
if (mainColor != null) {
fastTheme.mainColor = mainColor;
}
if (lineColor != null) {
fastTheme.lineColor = lineColor;
}
if (brightness != null) {
fastTheme.brightness = brightness;
}
}