genBaseConfig static method
Implementation
static BubblePopUpConfig genBaseConfig(Direction direction) {
return BubblePopUpConfig(
arrowDirection:
(direction.y == -1) ? ArrowDirection.down : ArrowDirection.up,
popUpAnchor: (direction == Direction.up)
? Alignment.bottomCenter
: Alignment.topCenter,
baseAnchor: _genBaseAnchor(direction),
);
}