NodeTooltipTheme<T> class
Theme data for tooltip styling in FolderView nodes
- Annotations
Constructors
-
NodeTooltipTheme({bool useTooltip = false, TooltipPosition position = TooltipPosition.top, EdgeInsetsGeometry? margin, double verticalOffset = 20.0, Duration? waitDuration, String? message, TextStyle? textStyle, InlineSpan? richMessage, InlineSpan? richMessageResolver(Node<
T> node)?, Color? backgroundColor, List<BoxShadow> ? boxShadow}) -
Creates a NodeTooltipTheme
const
Properties
- backgroundColor → Color?
-
Background color for tooltip
final
-
boxShadow
→ List<
BoxShadow> ? -
Box shadow for tooltip decoration
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsetsGeometry?
-
Margin around the tooltip
final
- message → String?
-
Static tooltip message
final
- position → TooltipPosition
-
Position of the tooltip (top or bottom)
final
- richMessage → InlineSpan?
-
Rich message with formatting
final
-
richMessageResolver
→ InlineSpan? Function(Node<
T> node)? -
Resolver function to dynamically determine rich message based on node data
If returns null, falls back to richMessage
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
Text style for tooltip message
final
- useTooltip → bool
-
Whether to use tooltip for this node type
final
- verticalOffset → double
-
Vertical offset from the widget
final
- waitDuration → Duration?
-
Wait duration before showing tooltip
final
Methods
-
copyWith(
{bool? useTooltip, TooltipPosition? position, EdgeInsetsGeometry? margin, double? verticalOffset, Duration? waitDuration, String? message, TextStyle? textStyle, InlineSpan? richMessage, InlineSpan? richMessageResolver(Node< T> node)?, Color? backgroundColor, List<BoxShadow> ? boxShadow}) → NodeTooltipTheme<T> - Creates a copy of this theme with the given fields replaced with new values
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
lerp<
T> (NodeTooltipTheme< T> ? a, NodeTooltipTheme<T> ? b, double t) → NodeTooltipTheme<T> - Linearly interpolate between two NodeTooltipThemes