maybeOf static method

MapOptions? maybeOf(
  1. BuildContext context
)

The options of the closest FlutterMap ancestor. If this is called from a context with no FlutterMap ancestor, null is returned.

Implementation

static MapOptions? maybeOf(BuildContext context) =>
    FlutterMapInheritedModel.maybeOptionsOf(context);