dark property
Implementation
static ThemeData dark = ThemeData.dark().copyWith(
colorScheme: darkColorScheme,
appBarTheme: AppBarTheme().copyWith(
color: Colors.transparent,
elevation: 0,
systemOverlayStyle: SystemUiOverlayStyle.light,
),
switchTheme: SwitchThemeData(
thumbColor: MaterialStateProperty.all(Color(0xff0ff1bd)),
trackColor:
MaterialStateProperty.all(darkColorScheme.primary.withOpacity(0.5)),
),
textTheme: TextTheme().apply(fontFamily: 'ador'));