copyWith method
VLinkStyle
copyWith({
- Color? splashColor,
- Color? iconColor,
- Color? defaultColor,
- Color? pressedColor,
- Color? tapUpColor,
- Color? disabledColor,
- dynamic underlineColor,
- TextStyle? titleTextStyle,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VLinkStyle copyWith({
Color? splashColor,
Color? iconColor,
Color? defaultColor,
Color? pressedColor,
Color? tapUpColor,
Color? disabledColor,
underlineColor,
TextStyle? titleTextStyle,
}) =>
VLinkStyle(
splashColor: splashColor ?? this.splashColor,
iconColor: iconColor ?? this.iconColor,
defaultColor: defaultColor ?? this.defaultColor,
pressedColor: pressedColor ?? this.pressedColor,
tapUpColor: tapUpColor ?? this.tapUpColor,
disabledColor: disabledColor ?? this.disabledColor,
underlineColor: underlineColor ?? this.underlineColor,
titleTextStyle: titleTextStyle ?? this.titleTextStyle,
);