TooltipThemeData constructor

const TooltipThemeData({
  1. @Deprecated('Use TooltipThemeData.constraints instead. ' 'This feature was deprecated after v3.30.0-0.1.pre.') double? height,
  2. BoxConstraints? constraints,
  3. EdgeInsetsGeometry? padding,
  4. EdgeInsetsGeometry? margin,
  5. double? verticalOffset,
  6. bool? preferBelow,
  7. bool? excludeFromSemantics,
  8. Decoration? decoration,
  9. TextStyle? textStyle,
  10. TextAlign? textAlign,
  11. Duration? waitDuration,
  12. Duration? showDuration,
  13. Duration? exitDuration,
  14. TooltipTriggerMode? triggerMode,
  15. 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.',
     );