ToolTipWidget constructor

const ToolTipWidget({
  1. Key? key,
  2. VoidCallback? onSkip,
  3. VoidCallback? onNext,
  4. String? nextTitle,
  5. required GetPosition? position,
  6. required Offset? offset,
  7. required Size? screenSize,
  8. required String? title,
  9. required TextAlign? titleAlignment,
  10. required String? description,
  11. required TextStyle? titleTextStyle,
  12. required TextStyle? descTextStyle,
  13. required Widget? container,
  14. required Color? tooltipBackgroundColor,
  15. required Color? textColor,
  16. required bool showArrow,
  17. required double? contentHeight,
  18. required double? contentWidth,
  19. required VoidCallback? onTooltipTap,
  20. required Duration movingAnimationDuration,
  21. required TextAlign? descriptionAlignment,
  22. EdgeInsets? tooltipPadding = const EdgeInsets.symmetric(vertical: 8),
  23. required bool disableMovingAnimation,
  24. required bool disableScaleAnimation,
  25. required BorderRadius? tooltipBorderRadius,
  26. required Duration scaleAnimationDuration,
  27. required Curve scaleAnimationCurve,
  28. Alignment? scaleAnimationAlignment,
  29. bool isTooltipDismissed = false,
  30. TooltipPosition? tooltipPosition,
  31. EdgeInsets? titlePadding,
  32. EdgeInsets? descriptionPadding,
  33. TextDirection? titleTextDirection,
  34. TextDirection? descriptionTextDirection,
})

Implementation

const ToolTipWidget({
  Key? key,
  this.onSkip,
  this.onNext,
  this.nextTitle,
  required this.position,
  required this.offset,
  required this.screenSize,
  required this.title,
  required this.titleAlignment,
  required this.description,
  required this.titleTextStyle,
  required this.descTextStyle,
  required this.container,
  required this.tooltipBackgroundColor,
  required this.textColor,
  required this.showArrow,
  required this.contentHeight,
  required this.contentWidth,
  required this.onTooltipTap,
  required this.movingAnimationDuration,
  required this.descriptionAlignment,
  this.tooltipPadding = const EdgeInsets.symmetric(vertical: 8),
  required this.disableMovingAnimation,
  required this.disableScaleAnimation,
  required this.tooltipBorderRadius,
  required this.scaleAnimationDuration,
  required this.scaleAnimationCurve,
  this.scaleAnimationAlignment,
  this.isTooltipDismissed = false,
  this.tooltipPosition,
  this.titlePadding,
  this.descriptionPadding,
  this.titleTextDirection,
  this.descriptionTextDirection,
}) : super(key: key);