WheelButtonLayout constructor

const WheelButtonLayout({
  1. required double radius,
  2. required LuckyFill? background,
  3. required bool pointer,
  4. required Path? pointerPath,
  5. required List<LuckyImagePlacement> images,
  6. required List<LuckyTextLine> texts,
})

创建按钮几何;无指针填充时 pointerPath 为 null。

Implementation

const WheelButtonLayout(
    {required this.radius,
    required this.background,
    required this.pointer,
    required this.pointerPath,
    required this.images,
    required this.texts});