light static method

ThemeData light()

Implementation

static ThemeData light() {
  return ThemeData(
    checkboxTheme: CheckboxThemeData(
      fillColor: MaterialStateColor.resolveWith(
        (states) {
          return Colors.black;
        },
      ),
    ),
    appBarTheme: const AppBarTheme(
      foregroundColor: Colors.white,
      // backgroundColor: Colors.white,
    ),
    splashColor: Colors.lightGreenAccent.shade100,
    cardTheme: const CardTheme(elevation: 12),
    dialogBackgroundColor: Colors.grey[50],
    floatingActionButtonTheme: const FloatingActionButtonThemeData(
      foregroundColor: Colors.white,
      // backgroundColor: Colors.black,
    ),
    bottomNavigationBarTheme: const BottomNavigationBarThemeData(
      selectedItemColor: Colors.green,
    ),
    dividerColor: Colors.black54,
    textTheme: lightTextTheme,
    colorScheme: const ColorScheme.light()
        .copyWith(primary: Colors.blue, secondary: Colors.blue[400]),
  );
}