copyWith method

VoAppBarStyle copyWith({
  1. Color? backgroundColor,
  2. Color? foregroundColor,
  3. double? elevation,
  4. bool? centerTitle,
  5. TextStyle? titleTextStyle,
  6. bool? automaticallyImplyLeading,
})

Implementation

VoAppBarStyle copyWith({
  Color? backgroundColor,
  Color? foregroundColor,
  double? elevation,
  bool? centerTitle,
  TextStyle? titleTextStyle,
  bool? automaticallyImplyLeading,
}) => VoAppBarStyle(
  backgroundColor: backgroundColor ?? this.backgroundColor,
  foregroundColor: foregroundColor ?? this.foregroundColor,
  elevation: elevation ?? this.elevation,
  centerTitle: centerTitle ?? this.centerTitle,
  titleTextStyle: titleTextStyle ?? this.titleTextStyle,
  automaticallyImplyLeading:
      automaticallyImplyLeading ?? this.automaticallyImplyLeading,
);