build method

Widget build(
  1. BuildContext context,
  2. Position targetPosition,
  3. Size parentSize
)

Builds the bubble slide child widget.

Implementation

Widget build(BuildContext context, Position targetPosition, Size parentSize) {
  Position position = getPosition(context, targetPosition, parentSize);
  return Positioned(
    top: position.top,
    right: position.right,
    bottom: position.bottom,
    left: position.left,
    child: widget,
  );
}