BubbleBox constructor
BubbleBox({
- Key? key,
- required Widget child,
- Color? backgroundColor,
- double? maxWidth,
- double? maxHeight,
- double? widthFactor,
- double? heightFactor,
- double elevation = 0.0,
- Color? shadowColor,
- Gradient? gradient,
- BlendMode blendMode = BlendMode.dstATop,
- EdgeInsets? margin,
- EdgeInsets padding = const EdgeInsets.all(8),
- ShapeBorder? shape,
Implementation
BubbleBox({
Key? key,
required this.child,
this.backgroundColor,
this.maxWidth,
this.maxHeight,
this.widthFactor,
this.heightFactor,
this.elevation = 0.0,
this.shadowColor,
this.gradient,
this.blendMode = BlendMode.dstATop,
this.margin,
this.padding = const EdgeInsets.all(8),
ShapeBorder? shape,
}) : shape = shape ?? BubbleShapeBorder(),
super(key: key);