copyWith method

  1. @override
VLinkStyle copyWith({
  1. Color? splashColor,
  2. Color? iconColor,
  3. Color? defaultColor,
  4. Color? pressedColor,
  5. Color? tapUpColor,
  6. Color? disabledColor,
  7. dynamic underlineColor,
  8. 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,
    );