PopWidget constructor
PopWidget({
- required Widget child,
- required PressType pressType,
- PopWidgetController? controller,
- Color arrowColor = const Color(0xFF4C4C4C),
- bool showArrow = true,
- Color barrierColor = Colors.black12,
- double arrowSize = 10.0,
- double horizontalMargin = 10.0,
- double verticalMargin = 10.0,
- dynamic onPopShowCall()?,
- dynamic onPopHideCall()?,
- Widget? arrowUp,
- 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),
});