copyWith method
返回只替换非空参数的副本。
Implementation
NumberWheelStyle copyWith(
{LuckyFill? background,
LuckyFill? trackFill,
LuckyFill? hubFill,
LuckyFill? ballFill,
Color? textColor,
double? fontSize,
String? fontFamily}) =>
NumberWheelStyle(
background: background ?? this.background,
trackFill: trackFill ?? this.trackFill,
hubFill: hubFill ?? this.hubFill,
ballFill: ballFill ?? this.ballFill,
textColor: textColor ?? this.textColor,
fontSize: fontSize ?? this.fontSize,
fontFamily: fontFamily ?? this.fontFamily);