FPopoverControl.lifted constructor

const FPopoverControl.lifted({
  1. required bool shown,
  2. required ValueChanged<bool> onChange,
  3. FPopoverMotion motion,
})

Creates a FPopoverControl for controlling a popover using lifted state.

The shown parameter indicates whether the popover is currently shown. The onChange callback is invoked when the user triggers a show/hide action.

Implementation

const factory FPopoverControl.lifted({
  required bool shown,
  required ValueChanged<bool> onChange,
  FPopoverMotion motion,
}) = _Lifted;