BubbleLabelContent constructor
BubbleLabelContent({
- String? id,
- Color? bubbleColor,
- Widget? child,
- double? backgroundOverlayLayerOpacity,
- double? verticalPadding,
- bool shouldActivateOnLongPressOnAllPlatforms = false,
- Offset? positionOverride,
- bool dismissOnBackgroundTap = false,
- bool shouldIgnorePointer = true,
- void onTapInside(
- TapDownDetails event
- void onTapOutside(
- TapDownDetails event
Creates a BubbleLabelContent.
Implementation
BubbleLabelContent({
String? id,
this.bubbleColor,
this.child,
this.backgroundOverlayLayerOpacity,
// label size is derived from child
double? verticalPadding,
this.shouldActivateOnLongPressOnAllPlatforms = false,
this.positionOverride,
this.dismissOnBackgroundTap = false,
this.shouldIgnorePointer = true,
this.onTapInside,
this.onTapOutside,
}) : id = id ?? Xid().toString(),
floatingVerticalPadding = verticalPadding ?? 5.0,
_childWidgetRenderBox = null;