MinTooltip constructor

const MinTooltip({
  1. Key? key,
  2. required Widget child,
  3. required String message,
  4. Duration delay = const Duration(milliseconds: 500),
  5. MinUiAnchorSide? side,
  6. Duration? duration,
  7. Duration? reverseDuration,
  8. Curve? curve,
  9. MinFloatingAnimation? animation,
  10. EdgeInsetsGeometry? padding,
  11. BorderRadiusGeometry? borderRadius,
  12. Color? backgroundColor,
  13. TextStyle? textStyle,
})

Implementation

const MinTooltip({
  super.key,
  required this.child,
  required this.message,
  this.delay = const Duration(milliseconds: 500),
  this.side,
  this.duration,
  this.reverseDuration,
  this.curve,
  this.animation,
  this.padding,
  this.borderRadius,
  this.backgroundColor,
  this.textStyle,
}) : assert(message != '', 'message must not be empty');