themeDataDark static method
Implementation
static ThemeData themeDataDark(BuildContext context) {
return ThemeData(
fontFamily: 'IRANYekanFN',
primaryColor: Colors.black,
hintColor: Colors.black,
cardTheme: CardTheme(
color: const Color(0xFF151515),
elevation: 0.2,
shape:
RoundedRectangleBorder(borderRadius: BorderRadius.circular(5))),
elevatedButtonTheme: ElevatedButtonThemeData(style: elevatedButtonStyle),
outlinedButtonTheme: OutlinedButtonThemeData(style: outlineButtonStyle),
scaffoldBackgroundColor: Colors.black,
indicatorColor: const Color(0xff0E1D36),
// buttonColor: Color(0xff3B3B3B),
// hintColor: Conf.grayColor,
highlightColor: const Color(0xff372901),
hoverColor: const Color(0xff3A3A3B),
focusColor: const Color(0xff0B2512),
disabledColor: Colors.grey,
textSelectionTheme:
const TextSelectionThemeData(selectionColor: Colors.white),
cardColor: const Color(0xFF303030),
canvasColor: Colors.black,
brightness: Brightness.dark,
buttonTheme: Theme.of(context)
.buttonTheme
.copyWith(colorScheme: const ColorScheme.dark()),
appBarTheme: const AppBarTheme(backgroundColor: Color(0xFF555555)),
colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.red)
.copyWith(background: Colors.black),
);
}