BubbleShape constructor

BubbleShape({
  1. BubbleStyle style = BubbleStyle.fill,
  2. Color strokeColor = Colors.transparent,
  3. double strokeWidth = 0.5,
  4. ArrowDirection direction = ArrowDirection.bottom,
  5. double positionRatio = 0.5,
  6. double arrowHeight = 5.0,
  7. double arrowWidth = 8.0,
  8. 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, '');