copyWith method

GalleryFooterThemeData 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 GalleryFooterThemeData to another.

Implementation

GalleryFooterThemeData copyWith({
  Color? backgroundColor,
  Color? shareIconColor,
  TextStyle? titleTextStyle,
  Color? gridIconButtonColor,
  Color? bottomSheetBarrierColor,
  Color? bottomSheetBackgroundColor,
  TextStyle? bottomSheetPhotosTextStyle,
  Color? bottomSheetCloseIconColor,
}) =>
    GalleryFooterThemeData(
      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,
    );