FFTooltip constructor
FFTooltip({
- FFText? message,
- FFPadding? innerPadding,
- double? legacyOffset,
- FFAxisDirection? preferredDirection,
- double? legacyBorderRadius,
- FFColor? legacyBackgroundColor,
- int? legacyElevation,
- double? legacyTailBaseWidth,
- double? legacyTailLength,
- int? legacyWaitDuration,
- int? legacyShowDuration,
- FFTooltip_TriggerMode? triggerMode,
- FFDoubleValue? offsetValue,
- FFDoubleValue? borderRadiusValue,
- FFColorValue? backgroundColorValue,
- FFIntegerValue? elevationValue,
- FFDoubleValue? tailBaseWidthValue,
- FFDoubleValue? tailLengthValue,
- FFIntegerValue? waitDurationValue,
- FFIntegerValue? showDurationValue,
- FFNodeKeyReference? componentClassNodeKeyRef,
- FFDimensions? componentDimensions,
- FFPassedParameters? componentParameters,
- bool? showTooltipOnFocus,
Implementation
factory FFTooltip({
FFText? message,
FFPadding? innerPadding,
$core.double? legacyOffset,
FFAxisDirection? preferredDirection,
$core.double? legacyBorderRadius,
FFColor? legacyBackgroundColor,
$core.int? legacyElevation,
$core.double? legacyTailBaseWidth,
$core.double? legacyTailLength,
$core.int? legacyWaitDuration,
$core.int? legacyShowDuration,
FFTooltip_TriggerMode? triggerMode,
FFDoubleValue? offsetValue,
FFDoubleValue? borderRadiusValue,
FFColorValue? backgroundColorValue,
FFIntegerValue? elevationValue,
FFDoubleValue? tailBaseWidthValue,
FFDoubleValue? tailLengthValue,
FFIntegerValue? waitDurationValue,
FFIntegerValue? showDurationValue,
FFNodeKeyReference? componentClassNodeKeyRef,
FFDimensions? componentDimensions,
FFPassedParameters? componentParameters,
$core.bool? showTooltipOnFocus,
}) {
final result = create();
if (message != null) result.message = message;
if (innerPadding != null) result.innerPadding = innerPadding;
if (legacyOffset != null) result.legacyOffset = legacyOffset;
if (preferredDirection != null)
result.preferredDirection = preferredDirection;
if (legacyBorderRadius != null)
result.legacyBorderRadius = legacyBorderRadius;
if (legacyBackgroundColor != null)
result.legacyBackgroundColor = legacyBackgroundColor;
if (legacyElevation != null) result.legacyElevation = legacyElevation;
if (legacyTailBaseWidth != null)
result.legacyTailBaseWidth = legacyTailBaseWidth;
if (legacyTailLength != null) result.legacyTailLength = legacyTailLength;
if (legacyWaitDuration != null)
result.legacyWaitDuration = legacyWaitDuration;
if (legacyShowDuration != null)
result.legacyShowDuration = legacyShowDuration;
if (triggerMode != null) result.triggerMode = triggerMode;
if (offsetValue != null) result.offsetValue = offsetValue;
if (borderRadiusValue != null) result.borderRadiusValue = borderRadiusValue;
if (backgroundColorValue != null)
result.backgroundColorValue = backgroundColorValue;
if (elevationValue != null) result.elevationValue = elevationValue;
if (tailBaseWidthValue != null)
result.tailBaseWidthValue = tailBaseWidthValue;
if (tailLengthValue != null) result.tailLengthValue = tailLengthValue;
if (waitDurationValue != null) result.waitDurationValue = waitDurationValue;
if (showDurationValue != null) result.showDurationValue = showDurationValue;
if (componentClassNodeKeyRef != null)
result.componentClassNodeKeyRef = componentClassNodeKeyRef;
if (componentDimensions != null)
result.componentDimensions = componentDimensions;
if (componentParameters != null)
result.componentParameters = componentParameters;
if (showTooltipOnFocus != null)
result.showTooltipOnFocus = showTooltipOnFocus;
return result;
}