copyWith method
VAppBarStyle
copyWith({
- Color? backgroundColor,
- Color? splashColor,
- Color? iconColor,
- double? elevation,
- double? bottomOpacity,
- double? borderRadius,
- TextStyle? titleTextStyle,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VAppBarStyle copyWith({
Color? backgroundColor,
Color? splashColor,
Color? iconColor,
double? elevation,
double? bottomOpacity,
double? borderRadius,
TextStyle? titleTextStyle,
}) =>
VAppBarStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
splashColor: splashColor ?? this.splashColor,
iconColor: iconColor ?? this.iconColor,
elevation: elevation ?? this.elevation,
bottomOpacity: bottomOpacity ?? this.bottomOpacity,
borderRadius: borderRadius ?? this.borderRadius,
titleTextStyle: titleTextStyle ?? this.titleTextStyle,
);