Tooltip constructor
Creates a tooltip.
By default, tooltips prefer to appear below the child
widget when the
user long presses on the widget.
The message
argument must not be null.
Implementation
const Tooltip({
Key key,
@required this.message,
this.height = 32.0,
this.padding = const EdgeInsets.symmetric(horizontal: 16.0),
this.verticalOffset = 24.0,
this.preferBelow = true,
this.excludeFromSemantics = false,
this.child,
}) : assert(message != null),
assert(height != null),
assert(padding != null),
assert(verticalOffset != null),
assert(preferBelow != null),
assert(excludeFromSemantics != null),
super(key: key);