RoyalWheelFrame constructor

const RoyalWheelFrame({
  1. Color goldColor = const Color(0xFFD4A62A),
  2. Color gemColor = const Color(0xFFD0103A),
  3. int gemCount = 12,
  4. Color plateColor = const Color(0xFF3B2410),
  5. bool shadow = true,
})

Creates a RoyalWheelFrame.

Implementation

const RoyalWheelFrame({
  this.goldColor = const Color(0xFFD4A62A),
  this.gemColor = const Color(0xFFD0103A),
  this.gemCount = 12,
  this.plateColor = const Color(0xFF3B2410),
  this.shadow = true,
}) : assert(gemCount >= 0, 'gemCount must not be negative');