LottoStyle class final
摇奖机配色;例如 const LottoStyle(buttonText: '开奖')。
- Annotations
Constructors
Properties
Methods
-
copyWith(
{Color? drumColor, Color? rimColor, Color? slotColor, Color? buttonColor, Color? buttonTextColor, String? buttonText}) → LottoStyle -
返回替换非空参数的副本,例如
style.copyWith(buttonText: '开奖')。 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
按所有样式字段比较。
override