of static method
Utility method to obtain the current ParallaxData instance provided by InheritedWidget class
Implementation
static ParallaxData? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<ParallaxData>();
}
Utility method to obtain the current ParallaxData instance provided by InheritedWidget class
static ParallaxData? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<ParallaxData>();
}