supportedExposureModes method
Retrieve all supported exposure modes for a device.
Implementation
@override
Future<List<ExposureMode>> supportedExposureModes() async {
verifyInitialized();
verifyNotDisposed();
final bool lockSupported =
await cameraParameters.isAutoExposureLockSupported();
return <ExposureMode>[
ExposureMode.continuous,
if (lockSupported) ExposureMode.locked,
];
}