appDarkThemeData top-level property
Implementation
final ThemeData appDarkThemeData = ThemeData(
brightness: Brightness.dark,
primaryColor: CommentColorS.col010101,
splashColor: Colors.white.withOpacity(0),
splashFactory: const NormalNoSplashFactory(),
highlightColor: Colors.white.withOpacity(0),
scaffoldBackgroundColor:
CommentColorS.col010101, //Scaffold的背景颜色。典型Material应用程序或应用程序内页面的背景颜色
textTheme: const TextTheme(
headline5: TextStyle(
color: CommentColorS.colffffff,
fontWeight: FontWeight.bold,
fontSize: 24),
bodyText1: TextStyle(
color: CommentColorS.colffffff,
fontSize: 16.0,
),
bodyText2: TextStyle(
color: CommentColorS.colffffff,
fontSize: 14,
),
),
appBarTheme: const AppBarTheme(
iconTheme: IconThemeData(color: Colors.white),
backgroundColor: CommentColorS.col010101,
),
);