TooltipThemeData constructor
- @Deprecated('Use TooltipThemeData.constraints instead. ' 'This feature was deprecated after v3.30.0-0.1.pre.') double? height,
- BoxConstraints? constraints,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- double? verticalOffset,
- bool? preferBelow,
- bool? excludeFromSemantics,
- Decoration? decoration,
- TextStyle? textStyle,
- TextAlign? textAlign,
- Duration? waitDuration,
- Duration? showDuration,
- Duration? exitDuration,
- TooltipTriggerMode? triggerMode,
- bool? enableFeedback,
Creates the set of properties used to configure Tooltips.
Implementation
const TooltipThemeData({
@Deprecated(
'Use TooltipThemeData.constraints instead. '
'This feature was deprecated after v3.30.0-0.1.pre.',
)
this.height,
this.constraints,
this.padding,
this.margin,
this.verticalOffset,
this.preferBelow,
this.excludeFromSemantics,
this.decoration,
this.textStyle,
this.textAlign,
this.waitDuration,
this.showDuration,
this.exitDuration,
this.triggerMode,
this.enableFeedback,
}) : assert(
height == null || constraints == null,
'Only one of `height` and `constraints` may be specified.',
);