TooltipContent constructor

const TooltipContent({
  1. Key? key,
  2. String? title,
  3. String? value,
  4. String? description,
  5. TextStyle? titleStyle,
  6. TextStyle? valueStyle,
  7. TextStyle? descriptionStyle,
  8. Widget? leading,
  9. Widget? trailing,
  10. double spacing = 4,
  11. List<Widget>? children,
})

Creates a TooltipContent widget.

Implementation

const TooltipContent({
  super.key,
  this.title,
  this.value,
  this.description,
  this.titleStyle,
  this.valueStyle,
  this.descriptionStyle,
  this.leading,
  this.trailing,
  this.spacing = 4,
  this.children,
});