copyWith method

GalleryHeaderThemeData copyWith({
  1. Color? closeButtonColor,
  2. Color? backgroundColor,
  3. Color? iconMenuPointColor,
  4. TextStyle? titleTextStyle,
  5. TextStyle? subtitleTextStyle,
  6. Color? bottomSheetBarrierColor,
})

Copies this GalleryHeaderThemeData to another.

Implementation

GalleryHeaderThemeData copyWith({
  Color? closeButtonColor,
  Color? backgroundColor,
  Color? iconMenuPointColor,
  TextStyle? titleTextStyle,
  TextStyle? subtitleTextStyle,
  Color? bottomSheetBarrierColor,
}) =>
    GalleryHeaderThemeData(
      closeButtonColor: closeButtonColor ?? this.closeButtonColor,
      backgroundColor: backgroundColor ?? this.backgroundColor,
      iconMenuPointColor: iconMenuPointColor ?? this.iconMenuPointColor,
      titleTextStyle: titleTextStyle ?? this.titleTextStyle,
      subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
      bottomSheetBarrierColor:
          bottomSheetBarrierColor ?? this.bottomSheetBarrierColor,
    );