BubbleShape constructor
BubbleShape({
- BubbleStyle style = BubbleStyle.fill,
- Color strokeColor = Colors.transparent,
- double strokeWidth = 0.5,
- ArrowDirection direction = ArrowDirection.bottom,
- double positionRatio = 0.5,
- double arrowHeight = 5.0,
- double arrowWidth = 8.0,
- double borderRadius = 10.0,
Implementation
BubbleShape(
{this.style = BubbleStyle.fill,
this.strokeColor = Colors.transparent,
this.strokeWidth = 0.5,
this.direction = ArrowDirection.bottom,
this.positionRatio = 0.5,
this.arrowHeight = 5.0,
this.arrowWidth = 8.0,
this.borderRadius = 10.0})
: assert(positionRatio >= 0 && positionRatio <= 1, ''),
assert(direction != null, '');