MonetThemeData constructor

MonetThemeData({
  1. required double backgroundTone,
  2. required Brightness brightness,
  3. required Palette primary,
  4. required Palette secondary,
  5. required Palette tertiary,
  6. Algo algo = Algo.apca,
  7. ColorModel colorModel = ColorModel.kDefault,
  8. double contrast = 0.5,
  9. double scale = 1.0,
  10. MonetShapeTheme shapeTheme = const MonetShapeTheme(),
  11. Typography typography(
    1. ColorScheme
    )?,
  12. bool compactLineHeights = true,
  13. double lineHeightClearance = kLineHeightClearance,
})

Implementation

MonetThemeData({
  required this.backgroundTone,
  required this.brightness,
  required this.primary,
  required this.secondary,
  required this.tertiary,
  this.algo = Algo.apca,
  this.colorModel = ColorModel.kDefault,
  this.contrast = 0.5,
  this.scale = 1.0,
  this.shapeTheme = const MonetShapeTheme(),
  this.typography,
  this.compactLineHeights = true,
  this.lineHeightClearance = kLineHeightClearance,
});