dark property
ThemeData
get
dark
Implementation
static ThemeData get dark => ThemeData(
useMaterial3: true,
brightness: Brightness.dark,
colorSchemeSeed: _primaryColor,
scaffoldBackgroundColor: _darkBg,
textTheme: GoogleFonts.jetBrainsMonoTextTheme(ThemeData.dark().textTheme),
appBarTheme: AppBarTheme(
centerTitle: false,
elevation: 0,
backgroundColor: _darkSurface,
),
cardTheme: CardThemeData(
elevation: 0,
color: _darkCard,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)),
),
inputDecorationTheme: InputDecorationTheme(
border: OutlineInputBorder(borderRadius: BorderRadius.circular(12)),
filled: true,
fillColor: _darkSurface,
),
);