RouletteUnit.image constructor

const RouletteUnit.image(
  1. ImageProvider<Object> image, {
  2. Color color = Colors.blue,
  3. double weight = 1.0,
  4. TextStyle style = RouletteStyle.defaultIconStyle,
})

Create a sector with an image

Implementation

const RouletteUnit.image(
  ImageProvider image, {
  Color color = Colors.blue,
  double weight = 1.0,
  TextStyle style = RouletteStyle.defaultIconStyle,
}) : this(color: color, image: image, weight: weight, textStyle: style);