BubbleLabelContent constructor

BubbleLabelContent({
  1. String? id,
  2. Color? bubbleColor,
  3. Widget? child,
  4. double? backgroundOverlayLayerOpacity,
  5. double? verticalPadding,
  6. bool shouldActivateOnLongPressOnAllPlatforms = false,
  7. Offset? positionOverride,
  8. bool dismissOnBackgroundTap = false,
  9. bool shouldIgnorePointer = true,
  10. void onTapInside(
    1. TapDownDetails event
    )?,
  11. void onTapOutside(
    1. 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;