theme property
Set custom theme properties default is dark theme with white text
Implementation
static ThemeData theme = ThemeData(
scaffoldBackgroundColor: Colors.black,
appBarTheme: const AppBarTheme(
backgroundColor: Colors.black87,
iconTheme: IconThemeData(color: Colors.white),
systemOverlayStyle: SystemUiOverlayStyle.light,
toolbarTextStyle: TextStyle(color: Colors.white),
titleTextStyle: TextStyle(color: Colors.white),
),
bottomNavigationBarTheme: const BottomNavigationBarThemeData(
backgroundColor: Colors.black,
),
iconTheme: const IconThemeData(
color: Colors.white,
),
textTheme: const TextTheme(
bodyMedium: TextStyle(color: Colors.white),
),
// colorScheme:
// ColorScheme(brightness: ui.Brightness, background: Colors.black),
);