创建配置,未指定的可选字段使用声明的默认值。
const LuckyImageSlot(this.group, this.itemIndex, this.imageIndex, {this.active = false});