copyWith method
VFlagStyle
copyWith({
- Color? infoIconColor,
- dynamic warningIconColor,
- dynamic errorIconColor,
- dynamic successIconColor,
- dynamic linkTextColor,
- dynamic linkUnderlineColor,
- dynamic closeIconColor,
- dynamic titleTextColor,
- dynamic descriptionTextColor,
- TextStyle? linkTextStyle,
- TextStyle? titleTextStyle,
- TextStyle? descriptionTextStyle,
- EdgeInsetsGeometry? closeIconPadding,
- VButtonStyle? linkStyle,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VFlagStyle copyWith({
Color? infoIconColor,
warningIconColor,
errorIconColor,
successIconColor,
linkTextColor,
linkUnderlineColor,
closeIconColor,
titleTextColor,
descriptionTextColor,
TextStyle? linkTextStyle,
TextStyle? titleTextStyle,
TextStyle? descriptionTextStyle,
EdgeInsetsGeometry? closeIconPadding,
VButtonStyle? linkStyle,
}) =>
VFlagStyle(
infoIconColor: infoIconColor ?? this.infoIconColor,
warningIconColor: warningIconColor ?? this.warningIconColor,
errorIconColor: errorIconColor ?? this.errorIconColor,
successIconColor: successIconColor ?? this.successIconColor,
linkTextColor: linkTextColor ?? this.linkTextColor,
linkUnderlineColor: linkUnderlineColor ?? this.linkUnderlineColor,
closeIconColor: closeIconColor ?? this.closeIconColor,
titleTextColor: titleTextColor ?? this.titleTextColor,
descriptionTextColor: descriptionTextColor ?? this.descriptionTextColor,
linkTextStyle: linkTextStyle ?? this.linkTextStyle,
titleTextStyle: titleTextStyle ?? this.titleTextStyle,
descriptionTextStyle: descriptionTextStyle ?? this.descriptionTextStyle,
closeIconPadding: closeIconPadding ?? this.closeIconPadding,
linkStyle: linkStyle ?? this.linkStyle,
);