LotsStick constructor

const LotsStick({
  1. required String label,
  2. List<LuckyText> texts = const [],
  3. List<LuckyImage> images = const [],
  4. LuckyFill? fill,
  5. double? weight,
  6. bool disabled = false,
  7. LotsStickPainter? painter,
})

创建配置;列表在使用期间不可修改。

Implementation

const LotsStick(
    {required this.label,
    this.texts = const [],
    this.images = const [],
    this.fill,
    this.weight,
    this.disabled = false,
    this.painter});