LotsStick constructor
const
LotsStick({
- required String label,
- List<
LuckyText> texts = const [], - List<
LuckyImage> images = const [], - LuckyFill? fill,
- double? weight,
- bool disabled = false,
- LotsStickPainter? painter,
创建配置;列表在使用期间不可修改。
Implementation
const LotsStick(
{required this.label,
this.texts = const [],
this.images = const [],
this.fill,
this.weight,
this.disabled = false,
this.painter});