GlassTooltip constructor

const GlassTooltip({
  1. Key? key,
  2. required String message,
  3. required Widget child,
  4. Duration waitDuration = const Duration(milliseconds: 500),
  5. Duration showDuration = const Duration(milliseconds: 1500),
})

Shows message over child while it is hovered or long-pressed.

Implementation

const GlassTooltip({
  super.key,
  required this.message,
  required this.child,
  this.waitDuration = const Duration(milliseconds: 500),
  this.showDuration = const Duration(milliseconds: 1500),
});