of static method
Implementation
static GalleryController? of(BuildContext context) {
final result =
context.dependOnInheritedWidgetOfExactType<GalleryControllerProvider>();
return result?.controller;
}
static GalleryController? of(BuildContext context) {
final result =
context.dependOnInheritedWidgetOfExactType<GalleryControllerProvider>();
return result?.controller;
}