camera property

CameraCutout? camera
final

The front camera's cutout on the screen, drawn by a MarketingFrame whose DeviceStyle uses ScreenCutout.auto.

Null, the default, guesses it from size, platform and the top safeArea inset, as before this field existed. Set it when the guess is wrong: a camera off-centre or in a corner, or one under the display (CameraCutout.none).

Implementation

final CameraCutout? camera;