copyWith method
返回仅替换非 null 参数的副本;例如 value.copyWith() 保留全部配置。
Implementation
SlotStyle copyWith({LuckyCellStyle? cell, LuckyTextDefaults? text}) =>
SlotStyle(cell: cell ?? this.cell, text: text ?? this.text);
返回仅替换非 null 参数的副本;例如 value.copyWith() 保留全部配置。
SlotStyle copyWith({LuckyCellStyle? cell, LuckyTextDefaults? text}) =>
SlotStyle(cell: cell ?? this.cell, text: text ?? this.text);