PopoverPositionDelegate constructor
PopoverPositionDelegate({
- required Offset position,
- required Size boxSize,
- required Offset? clickPosition,
- OffsetCalculator? offsetCalculator,
- ValueChanged<
Size> ? onSizeFind, - OverflowAlgorithm? overflowAlgorithm,
- required double gap,
- required EdgeInsets? margin,
- required Placement placement,
- required ValueChanged<
PlacementShift> onPlacementShift,
Creates a delegate for computing the layout of a tooltip.
Implementation
PopoverPositionDelegate({
required this.position,
required this.boxSize,
required this.clickPosition,
this.offsetCalculator,
this.onSizeFind,
this.overflowAlgorithm,
required this.gap,
required this.margin,
required this.placement,
required this.onPlacementShift,
});