I have Added the tpa through functionality and the dragging functionality in my flutter app recently i am facing this issue in the flutter code :-
There’s no constant named ‘none’ in ‘OverlayFlag’.
isActive = await OverlayPopUp.showOverlay(
width: 300,
height: 300,
closeWhenTapBackButton: false,
isDraggable: !isLocked,
backgroundBehavior: isLocked ? OverlayFlag.tapThrough : OverlayFlag.none,
);
I am getting the error in this Line
backgroundBehavior: isLocked ? OverlayFlag.tapThrough : OverlayFlag.none,
New contributor
Dipanshu Jangir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.