GalleryFooter constructor

const GalleryFooter({
  1. Key? key,
  2. required Message message,
  3. VoidCallback? onBackPressed,
  4. VoidCallback? onTitleTap,
  5. VoidCallback? onImageTap,
  6. int currentPage = 0,
  7. int totalPages = 0,
  8. List<Attachment> mediaAttachments = const [],
  9. ValueChanged<int>? mediaSelectedCallBack,
  10. Color? backgroundColor,
})

Creates a channel header

Implementation

const GalleryFooter({
  Key? key,
  required this.message,
  this.onBackPressed,
  this.onTitleTap,
  this.onImageTap,
  this.currentPage = 0,
  this.totalPages = 0,
  this.mediaAttachments = const [],
  this.mediaSelectedCallBack,
  this.backgroundColor,
})  : preferredSize = const Size.fromHeight(kToolbarHeight),
      super(key: key);