fitCamera method

  1. @override
bool fitCamera(
  1. CameraFit cameraFit
)
override

Move and zoom the map to fit cameraFit.

For information about the return value and emitted events, see move's documentation.

Implementation

@override
bool fitCamera(CameraFit cameraFit) => _internalController.fitCamera(
      cameraFit,
      offset: Offset.zero,
    );