merge method

Merges one GalleryFooterThemeData with another.

Implementation

GalleryFooterThemeData merge(GalleryFooterThemeData? other) {
  if (other == null) return this;
  return copyWith(
    backgroundColor: other.backgroundColor,
    bottomSheetBarrierColor: other.bottomSheetBarrierColor,
    bottomSheetBackgroundColor: other.bottomSheetBackgroundColor,
    bottomSheetCloseIconColor: other.bottomSheetCloseIconColor,
    bottomSheetPhotosTextStyle: other.bottomSheetPhotosTextStyle,
    gridIconButtonColor: other.gridIconButtonColor,
    titleTextStyle: other.titleTextStyle,
    shareIconColor: other.shareIconColor,
  );
}