copyWith method
SpinBoxThemeData
copyWith({
- double? iconSize,
- MaterialStateProperty<
Color?> ? iconColor, - InputDecoration? decoration,
Creates a copy of this object but with the given fields replaced with the new values.
Implementation
SpinBoxThemeData copyWith({
double? iconSize,
MaterialStateProperty<Color?>? iconColor,
InputDecoration? decoration,
}) {
return SpinBoxThemeData(
iconSize: iconSize ?? this.iconSize,
iconColor: iconColor ?? this.iconColor,
decoration: decoration ?? this.decoration,
);
}