AppTheme constructor

AppTheme({
  1. required Color primary,
  2. required Color secondary,
  3. bool darkTheme = false,
  4. Color backgroundLight = const Color(0xffeeeeee),
  5. Color backgroundDark = const Color(0xff222222),
  6. Color textLight = const Color(0xff444444),
  7. Color textDark = const Color(0xffffffff),
})

Implementation

AppTheme({
  required this.primary,
  required this.secondary,
  this.darkTheme = false,
  this.backgroundLight = const Color(0xffeeeeee),
  this.backgroundDark = const Color(0xff222222),
  this.textLight = const Color(0xff444444),
  this.textDark = const Color(0xffffffff),
});