RouletteUnit.image constructor
const
RouletteUnit.image(
- ImageProvider<
Object> image, { - Color color = Colors.blue,
- double weight = 1.0,
- 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);