TooltipGuide constructor

TooltipGuide({
  1. Set<String>? selections,
  2. List<bool>? followPointer,
  3. Offset anchor(
    1. Size
    )?,
  4. int? layer,
  5. int? mark,
  6. Alignment? align,
  7. Offset? offset,
  8. EdgeInsets? padding,
  9. Color? backgroundColor,
  10. Radius? radius,
  11. double? elevation,
  12. TextStyle? textStyle,
  13. bool? multiTuples,
  14. List<String>? variables,
  15. bool? constrained,
  16. TooltipRenderer? renderer,
})

Creates a tooltip.

Implementation

TooltipGuide({
  this.selections,
  this.followPointer,
  this.anchor,
  this.layer,
  this.mark,
  this.align,
  this.offset,
  this.padding,
  this.backgroundColor,
  this.radius,
  this.elevation,
  this.textStyle,
  this.multiTuples,
  this.variables,
  this.constrained,
  this.renderer,
})  : assert(isSingle([renderer, align], allowNone: true)),
      assert(isSingle([renderer, offset], allowNone: true)),
      assert(isSingle([renderer, padding], allowNone: true)),
      assert(isSingle([renderer, backgroundColor], allowNone: true)),
      assert(isSingle([renderer, radius], allowNone: true)),
      assert(isSingle([renderer, elevation], allowNone: true)),
      assert(isSingle([renderer, textStyle], allowNone: true)),
      assert(isSingle([renderer, multiTuples], allowNone: true)),
      assert(isSingle([renderer, constrained], allowNone: true)),
      assert(isSingle([renderer, variables], allowNone: true));