SpeechBubble constructor
SpeechBubble({
- Key? key,
- required Widget child,
- NipLocation nipLocation = NipLocation.BOTTOM,
- Color color = Colors.redAccent,
- double borderRadius = 4.0,
- double? height,
- double? width,
- EdgeInsetsGeometry? padding,
- double nipHeight = defaultNipHeight,
- 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);