SpeechBubble constructor

SpeechBubble({
  1. Key? key,
  2. required Widget child,
  3. NipLocation nipLocation = NipLocation.BOTTOM,
  4. Color color = Colors.redAccent,
  5. double borderRadius = 4.0,
  6. double? height,
  7. double? width,
  8. EdgeInsetsGeometry? padding,
  9. double nipHeight = defaultNipHeight,
  10. Offset offset = Offset.zero,
})

Creates a widget that emulates a speech bubble. Could be used for a tooltip, or as a pop-up notification, etc.

Implementation

SpeechBubble(
    {Key? key,
    required this.child,
    this.nipLocation = NipLocation.BOTTOM,
    this.color = Colors.redAccent,
    this.borderRadius = 4.0,
    this.height,
    this.width,
    this.padding,
    this.nipHeight = defaultNipHeight,
    this.offset = Offset.zero})
    : super(key: key);