SlotMachine constructor
const
SlotMachine({
- Key? key,
- required List<
RollItem> rollItems, - int multiplyNumberOfSlotItems = 2,
- bool shuffle = true,
- double width = 232,
- double height = 96,
- double reelWidth = 72,
- double reelHeight = 96,
- double reelItemExtent = 48,
- double reelSpacing = 8,
- required dynamic onCreated(),
- required dynamic onFinished(),
Implementation
const SlotMachine({
Key? key,
required this.rollItems,
this.multiplyNumberOfSlotItems = 2,
this.shuffle = true,
this.width = 232,
this.height = 96,
this.reelWidth = 72,
this.reelHeight = 96,
this.reelItemExtent = 48,
this.reelSpacing = 8,
required this.onCreated,
required this.onFinished,
}) : super(key: key);