GalleryControllerProvider constructor

const GalleryControllerProvider({
  1. Key? key,
  2. required Widget child,
  3. required GalleryController controller,
})

Creates a widget that associates a GalleryController with a subtree.

Implementation

const GalleryControllerProvider({super.key, required super.child, required this.controller});