switchDevice property

bool switchDevice
final

Handle camera.switchDevice ("Flip Camera"): calls Future<void> switchDevice() live, with the app in the foreground.

Toggles between front and back camera.

Implementation

final bool switchDevice;