Rate constructor

const Rate({
  1. Key? key,
  2. bool allowHalf = false,
  3. bool allowClear = true,
  4. bool readOnly = false,
  5. double iconSize = 24,
  6. Color color = Colors.yellow,
  7. double initialValue = 0.0,
  8. void onChange(
    1. double value
    )?,
  9. IconBuilder? iconBuilder,
})

Implementation

const Rate({
  Key? key,
  this.allowHalf = false,
  this.allowClear = true,
  this.readOnly = false,
  this.iconSize = 24,
  this.color = Colors.yellow,
  this.initialValue = 0.0,
  this.onChange,
  this.iconBuilder,
}) : super(key: key);