Skip to content

Instantly share code, notes, and snippets.

@slamdon
Created February 10, 2020 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slamdon/ac4e4122ffeeea10a8efcb67fb9c6e8f to your computer and use it in GitHub Desktop.
Save slamdon/ac4e4122ffeeea10a8efcb67fb9c6e8f to your computer and use it in GitHub Desktop.
Theme
final ThemeData lightTheme = ThemeData(
brightness: Brightness.light,
accentColor: Colors.white,
primaryColor: Colors.blue,
iconTheme: IconThemeData(color: Colors.grey),
textTheme:
TextTheme(body1: TextStyle(color: Color.fromRGBO(32, 73, 105, 1))));
final ThemeData darkTheme = ThemeData(
brightness: Brightness.dark,
accentColor: Colors.black,
primaryColor: Colors.cyan,
iconTheme: IconThemeData(color: Colors.blue),
textTheme: TextTheme(body1: TextStyle(color: Colors.red)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment