of static method
The data from the closest MapLayout instance that encloses the given context.
Implementation
static MapLayout? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<MapLayout>();
}
The data from the closest MapLayout instance that encloses the given context.
static MapLayout? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<MapLayout>();
}