copyWith method

StreamGalleryFooterThemeData copyWith({
  1. Color? backgroundColor,
  2. Color? shareIconColor,
  3. TextStyle? titleTextStyle,
  4. Color? gridIconButtonColor,
  5. Color? bottomSheetBarrierColor,
  6. Color? bottomSheetBackgroundColor,
  7. TextStyle? bottomSheetPhotosTextStyle,
  8. Color? bottomSheetCloseIconColor,
})

Copies this StreamGalleryFooterThemeData to another.

Implementation

StreamGalleryFooterThemeData copyWith({
  Color? backgroundColor,
  Color? shareIconColor,
  TextStyle? titleTextStyle,
  Color? gridIconButtonColor,
  Color? bottomSheetBarrierColor,
  Color? bottomSheetBackgroundColor,
  TextStyle? bottomSheetPhotosTextStyle,
  Color? bottomSheetCloseIconColor,
}) {
  return StreamGalleryFooterThemeData(
    backgroundColor: backgroundColor ?? this.backgroundColor,
    shareIconColor: shareIconColor ?? this.shareIconColor,
    titleTextStyle: titleTextStyle ?? this.titleTextStyle,
    gridIconButtonColor: gridIconButtonColor ?? this.gridIconButtonColor,
    bottomSheetBarrierColor:
        bottomSheetBarrierColor ?? this.bottomSheetBarrierColor,
    bottomSheetBackgroundColor:
        bottomSheetBackgroundColor ?? this.bottomSheetBackgroundColor,
    bottomSheetPhotosTextStyle:
        bottomSheetPhotosTextStyle ?? this.bottomSheetPhotosTextStyle,
    bottomSheetCloseIconColor:
        bottomSheetCloseIconColor ?? this.bottomSheetCloseIconColor,
  );
}