PopWidget constructor

PopWidget({
  1. required Widget child,
  2. required Widget menuBuilder(),
  3. required PressType pressType,
  4. PopWidgetController? controller,
  5. Color arrowColor = const Color(0xFF4C4C4C),
  6. bool showArrow = true,
  7. Color barrierColor = Colors.black12,
  8. double arrowSize = 10.0,
  9. double horizontalMargin = 10.0,
  10. double verticalMargin = 10.0,
  11. dynamic onPopShowCall()?,
  12. dynamic onPopHideCall()?,
  13. Widget? arrowUp,
  14. Offset arrowOffset = const Offset(0, 0),
})

Implementation

PopWidget({
  required this.child,
  required this.menuBuilder,
  required this.pressType,
  this.controller,
  this.arrowColor = const Color(0xFF4C4C4C),
  this.showArrow = true,
  this.barrierColor = Colors.black12,
  this.arrowSize = 10.0,
  this.horizontalMargin = 10.0,
  this.verticalMargin = 10.0,
  this.onPopShowCall,
  this.onPopHideCall,
  this.arrowUp,
  this.arrowOffset = const Offset(0, 0),
});