camera property

  1. @override
MapCamera camera
override

Get the current MapCamera instance. Prefer using MapCamera.of(context) if possible.

Implementation

@override
MapCamera get camera {
  return value.camera ??
      (throw Exception('You need to have the FlutterMap widget rendered at '
          'least once before using the MapController.'));
}