SlotStyle constructor

const SlotStyle({
  1. LuckyCellStyle cell = const LuckyCellStyle(background: LuckyFill.color(kLuckyTransparent), borderRadius: 0),
  2. LuckyTextDefaults text = const LuckyTextDefaults(),
})

创建样式;格子默认透明、无圆角。

Implementation

const SlotStyle(
    {this.cell = const LuckyCellStyle(
        background: LuckyFill.color(kLuckyTransparent), borderRadius: 0),
    this.text = const LuckyTextDefaults()});