SlotStyle constructor
const
SlotStyle({
- LuckyCellStyle cell = const LuckyCellStyle(background: LuckyFill.color(kLuckyTransparent), borderRadius: 0),
- LuckyTextDefaults text = const LuckyTextDefaults(),
创建样式;格子默认透明、无圆角。
Implementation
const SlotStyle(
{this.cell = const LuckyCellStyle(
background: LuckyFill.color(kLuckyTransparent), borderRadius: 0),
this.text = const LuckyTextDefaults()});