TooltipGuide constructor
TooltipGuide({
- Set<
String> ? selections, - List<
bool> ? followPointer, - Offset anchor()?,
- int? layer,
- int? element,
- Alignment? align,
- Offset? offset,
- EdgeInsets? padding,
- Color? backgroundColor,
- Radius? radius,
- double? elevation,
- TextStyle? textStyle,
- bool? multiTuples,
- List<
String> ? variables, - bool? constrained,
- TooltipRenderer? renderer,
Creates a tooltip.
Implementation
TooltipGuide({
this.selections,
this.followPointer,
this.anchor,
this.layer,
this.element,
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));