copyWithWhiteColoring method
Implementation
ThemeData copyWithWhiteColoring() {
return copyWith(
colorScheme: ColorScheme(
brightness: Brightness.light,
surface: Colors.white,
onSurface: Colors.black,
primary: Colors.orange,
onPrimary: Colors.green,
secondary: Colors.purple,
onSecondary: Colors.blue,
error: Colors.pink,
onError: Colors.yellow,
surfaceBright: Colors.yellow,
),
scaffoldBackgroundColor: Colors.white,
appBarTheme: AppBarTheme(
backgroundColor: Colors.transparent,
surfaceTintColor: Colors.transparent,
systemOverlayStyle: SystemUiOverlayStyle(
statusBarIconBrightness: Brightness.dark,
statusBarBrightness: Brightness.light,
),
)
);
}