OPopupTrigger constructor

const OPopupTrigger({
  1. Key? key,
  2. required Widget triggerWidget,
  3. Widget? popupHeader,
  4. Widget? popupContent,
  5. Widget? popupActionRow,
  6. Color? barrierColor,
  7. bool barrierDismissible = true,
  8. Duration? barrierAnimationDuration,
})

Creates an instance of OPopupTrigger

Implementation

const OPopupTrigger({
  Key? key,
  required this.triggerWidget,
  this.popupHeader,
  this.popupContent,
  this.popupActionRow,
  this.barrierColor,
  this.barrierDismissible = true,
  this.barrierAnimationDuration,
})  : assert(popupHeader != null ||
          popupContent != null ||
          popupActionRow != null),
      super(key: key);