PopoverAnchor constructor

const PopoverAnchor({
  1. Key? key,
  2. required BuildContext anchorContext,
  3. Offset? position,
  4. required AlignmentGeometry alignment,
  5. CapturedThemes? themes,
  6. required WidgetBuilder builder,
  7. required Animation<double> animation,
  8. required AlignmentGeometry anchorAlignment,
  9. PopoverConstraint widthConstraint = PopoverConstraint.flexible,
  10. PopoverConstraint heightConstraint = PopoverConstraint.flexible,
  11. Size? anchorSize,
  12. VoidCallback? onTapOutside,
  13. Object? regionGroupId,
  14. Offset? offset,
  15. AlignmentGeometry? transitionAlignment,
  16. EdgeInsetsGeometry? margin,
  17. bool follow = true,
  18. bool consumeOutsideTaps = true,
  19. ValueChanged<PopoverAnchorState>? onTickFollow,
  20. bool allowInvertHorizontal = true,
  21. bool allowInvertVertical = true,
  22. CapturedData? data,
  23. FutureVoidCallback? onClose,
  24. VoidCallback? onImmediateClose,
  25. PopoverFutureVoidCallback<Object?>? onCloseWithResult,
})

Implementation

const PopoverAnchor({
  super.key,
  required this.anchorContext,
  this.position,
  required this.alignment,
  this.themes,
  required this.builder,
  required this.animation,
  required this.anchorAlignment,
  this.widthConstraint = PopoverConstraint.flexible,
  this.heightConstraint = PopoverConstraint.flexible,
  this.anchorSize,
  // this.route,
  this.onTapOutside,
  this.regionGroupId,
  this.offset,
  this.transitionAlignment,
  this.margin,
  this.follow = true,
  this.consumeOutsideTaps = true,
  this.onTickFollow,
  this.allowInvertHorizontal = true,
  this.allowInvertVertical = true,
  this.data,
  this.onClose,
  this.onImmediateClose,
  this.onCloseWithResult,
});