FSliderTooltipsController class final

The controller for a slider's registered tooltips.

Constructors

FSliderTooltipsController({required bool enabled})
Creates a FSliderTooltipsController.

Properties

enabled bool
True if the registered tooltip(s) should be shown when the user interacts with the slider. Defaults to true.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(UniqueKey key, FTooltipController controller) → void
Registers the tooltip to the slider.
hide([UniqueKey? key]) Future<void>
Hides the tooltip with the given key, or all tooltips if none is specified.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(UniqueKey? key, [FTooltipController? controller]) → void
Removes the tooltip from the slider.
show([UniqueKey? key]) Future<void>
Shows the tooltip with the given key, or all tooltips if none is specified.
toggle([UniqueKey? key]) Future<void>
Toggles the visibility of the tooltip with the given key, or all tooltips if none is specified.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

max UniqueKey
The key for the max thumb.
final
min UniqueKey
The key for the min thumb.
final