ClassicWheelFrame constructor

const ClassicWheelFrame({
  1. Color rimColor = const Color(0xFFE41B23),
  2. Color? rimHighlightColor,
  3. Color trimColor = const Color(0xFFE8E8EA),
  4. Color studColor = const Color(0xFFF4C542),
  5. int toothCount = 8,
  6. int studCount = 8,
  7. Color plateColor = const Color(0xFFF2F2F2),
  8. bool shadow = true,
})

Creates a ClassicWheelFrame.

Implementation

const ClassicWheelFrame({
  this.rimColor = const Color(0xFFE41B23),
  this.rimHighlightColor,
  this.trimColor = const Color(0xFFE8E8EA),
  this.studColor = const Color(0xFFF4C542),
  this.toothCount = 8,
  this.studCount = 8,
  this.plateColor = const Color(0xFFF2F2F2),
  this.shadow = true,
})  : assert(toothCount >= 0, 'toothCount must not be negative'),
      assert(studCount >= 0, 'studCount must not be negative');