torchControlPosition property
Anchor
get
torchControlPosition
Updates the position of the torch control button.
Only Anchor.topLeft, Anchor.topRight, Anchor.bottomLeft and Anchor.bottomRight, are supported.
Any other value will default to Anchor.topLeft.
Added in version 6.28.0
Implementation
Anchor get torchControlPosition => _torchControlPosition;
set
torchControlPosition
(Anchor newValue)
Updates the position of the torch control button.
Only Anchor.topLeft, Anchor.topRight, Anchor.bottomLeft and Anchor.bottomRight, are supported.
Any other value will default to Anchor.topLeft.
Added in version 6.28.0
Implementation
set torchControlPosition(Anchor newValue) {
_torchControlPosition = newValue;
_updateNative();
}