darkTheme_default method

ThemeData darkTheme_default()

Implementation

ThemeData darkTheme_default() {
  final ThemeData themeData = ThemeData.dark();
  return themeData.copyWith(
    primaryColor: const Color.fromARGB(255, 30, 30, 30),
    shadowColor: const Color.fromARGB(255, 255, 255, 255).withAlpha(110),
    scaffoldBackgroundColor: Colors.black,
    textTheme: Typography().white.apply(fontFamily: "Poppins", package: "general_lib_assets_flutter"),
    indicatorColor: Colors.white,
    dialogBackgroundColor: const Color.fromARGB(255, 64, 64, 64),
    cardColor: Colors.grey,
    colorScheme: const ColorScheme.dark().copyWith(
      primary: const Color.fromARGB(255, 64, 64, 64),
    ),
    highlightColor: Colors.cyan,
    textSelectionTheme: themeData.textSelectionTheme.copyWith(
      cursorColor: Colors.white,
      selectionColor: Colors.white.withOpacity(0.4),
    ),
  );
}