copyWith method

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

Copies this StreamGalleryHeaderThemeData to another.

Implementation

StreamGalleryHeaderThemeData copyWith({
  Color? closeButtonColor,
  Color? backgroundColor,
  Color? iconMenuPointColor,
  TextStyle? titleTextStyle,
  TextStyle? subtitleTextStyle,
  Color? bottomSheetBarrierColor,
}) {
  return StreamGalleryHeaderThemeData(
    closeButtonColor: closeButtonColor ?? this.closeButtonColor,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    iconMenuPointColor: iconMenuPointColor ?? this.iconMenuPointColor,
    titleTextStyle: titleTextStyle ?? this.titleTextStyle,
    subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
    bottomSheetBarrierColor:
        bottomSheetBarrierColor ?? this.bottomSheetBarrierColor,
  );
}