darkTheme function

ThemeData darkTheme()

Implementation

ThemeData darkTheme() {
  final theme = ThemeData.dark();

  return theme
      .copyWith(
        extensions: <ThemeExtension<dynamic>>[
          CollactionTheme.dark,
        ],
        colorScheme: theme.colorScheme.copyWith(
          background: theme.scaffoldBackgroundColor,
          onBackground: Colors.white,
        ),
      )
      .themeScheme()
      .themeButtons()
      .themeInputs()
      .themeText();
}