AppTheme constructor

AppTheme({
  1. required Color primary,
  2. required Color secondary,
  3. bool darkTheme = false,
  4. Color background = const Color(0xffffffff),
  5. Color text = const Color(0xff000000),
})

Implementation

AppTheme({
  required this.primary,
  required this.secondary,
  this.darkTheme = false,
  this.background = const Color(0xffffffff),
  this.text = const Color(0xff000000),
});