buildPopUp method

Widget buildPopUp ()

Implementation

Widget buildPopUp() {
  return Positioned(
    child: Container(
      key: ballonContainerKey,
      decoration: ShapeDecoration(
          color: backgroundColor,
          shadows: hasShadow
              ? [BoxShadow(color: Colors.black54, blurRadius: 10.0, spreadRadius: 5.0)]
              : null,
          shape: _BubbleShape(popupDirection, targetCenter, borderRadius, arrowBaseWidth,
              arrowTipDistance, borderColor, borderWidth, left, top, right, bottom)),
      margin: getBallonContainerMargin(),
      child: content,
    ),
  );
}