DevToolsTooltip constructor
const
DevToolsTooltip({
- Key? key,
- String? message,
- InlineSpan? richMessage,
- required Widget child,
- Duration waitDuration = tooltipWait,
- bool preferBelow = false,
- bool enableTapToDismiss = true,
- EdgeInsetsGeometry? padding = const EdgeInsets.all(defaultSpacing),
- Decoration? decoration,
- 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));