maybeOf static method

MapCamera? maybeOf(
  1. BuildContext context
)

Find the MapCamera of the closest MapLibreMap in the widget tree. Returns null if called outside of the MapLibreMap.children.

Implementation

static MapCamera? maybeOf(BuildContext context) =>
    MapLibreInheritedModel.maybeMapCameraOf(context);