DevToolsTooltip constructor

const DevToolsTooltip({
  1. Key? key,
  2. String? message,
  3. InlineSpan? richMessage,
  4. required Widget child,
  5. Duration waitDuration = tooltipWait,
  6. bool preferBelow = false,
  7. bool enableTapToDismiss = true,
  8. EdgeInsetsGeometry? padding = const EdgeInsets.all(defaultSpacing),
  9. Decoration? decoration,
  10. TextStyle? textStyle,
})

Implementation

const DevToolsTooltip({
  super.key,
  this.message,
  this.richMessage,
  required this.child,
  this.waitDuration = tooltipWait,
  this.preferBelow = false,
  this.enableTapToDismiss = true,
  this.padding = const EdgeInsets.all(defaultSpacing),
  this.decoration,
  this.textStyle,
}) : assert((message == null) != (richMessage == null));