FPopoverManagedControl constructor

const FPopoverManagedControl({
  1. FPopoverController? controller,
  2. bool? initial,
  3. FPopoverMotion? motion,
  4. ValueChanged<bool>? onChange,
})

Creates a FPopoverControl.

Implementation

const FPopoverManagedControl({this.controller, this.initial, this.motion, this.onChange})
  : assert(
      controller == null || initial == null,
      'Cannot provide both controller and initially shown. Pass initially shown to the controller instead.',
    ),
    assert(
      controller == null || motion == null,
      'Cannot provide both controller and motion. Pass motion to the controller instead.',
    ),
    super._();