dark static method

ThemeData dark()

Implementation

static ThemeData dark() {
  var theme = ThemeData.dark();

  theme = _applySharedChanges(theme);

  return theme.copyWith(
    primaryColor: Colors.blue[700],
    popupMenuTheme: theme.popupMenuTheme.copyWith(
      textStyle: theme.textTheme.bodyText1,
    ),
    splashColor: Colors.transparent,
    canvasColor: Colors.black,
    hoverColor: Colors.white12,
    outlinedButtonTheme: OutlinedButtonThemeData(
      style: OutlinedButton.styleFrom(
        primary: Colors.white,
        textStyle: theme.textTheme.bodyText1!.copyWith(fontSize: 12.0),
        backgroundColor: Colors.black,
        shape: RoundedRectangleBorder(
          borderRadius: BorderRadius.all(Radius.circular(6)),
          side: BorderSide(color: theme.dividerColor, width: 1),
        ),
        splashFactory: NoSplash.splashFactory,
      ),
    ),
    cardColor: Colors.grey[900],
    dividerColor: Colors.white24,
  );
}