UThemeData constructor

UThemeData({
  1. required String fontFamily,
  2. required Color disabledColor,
  3. required Color primaryColor,
  4. required Color secondaryColor,
  5. Color errorColor = Colors.red,
  6. Color cardColor = Colors.white,
  7. Color? surface,
  8. Color? surfaceContainer,
  9. double cardElevation = 1,
})

Implementation

UThemeData({
  required this.fontFamily,
  required this.disabledColor,
  required this.primaryColor,
  required this.secondaryColor,
  this.errorColor = Colors.red,
  this.cardColor = Colors.white,
  this.surface,
  this.surfaceContainer,
  this.cardElevation = 1,
});