FFTooltip constructor

FFTooltip({
  1. FFText? message,
  2. FFPadding? innerPadding,
  3. double? legacyOffset,
  4. FFAxisDirection? preferredDirection,
  5. double? legacyBorderRadius,
  6. FFColor? legacyBackgroundColor,
  7. int? legacyElevation,
  8. double? legacyTailBaseWidth,
  9. double? legacyTailLength,
  10. int? legacyWaitDuration,
  11. int? legacyShowDuration,
  12. FFTooltip_TriggerMode? triggerMode,
  13. FFDoubleValue? offsetValue,
  14. FFDoubleValue? borderRadiusValue,
  15. FFColorValue? backgroundColorValue,
  16. FFIntegerValue? elevationValue,
  17. FFDoubleValue? tailBaseWidthValue,
  18. FFDoubleValue? tailLengthValue,
  19. FFIntegerValue? waitDurationValue,
  20. FFIntegerValue? showDurationValue,
  21. FFNodeKeyReference? componentClassNodeKeyRef,
  22. FFDimensions? componentDimensions,
  23. FFPassedParameters? componentParameters,
  24. 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;
}