TooltipTheme class
Theme data for customizing TooltipContainer widget appearance.
This class defines the visual properties that can be applied to tooltip containers, including surface effects, padding, colors, and border styling. These properties can be set at the theme level to provide consistent styling across the application.
Constructors
- TooltipTheme.new({double? surfaceOpacity, double? surfaceBlur, EdgeInsetsGeometry? padding, Color? backgroundColor, BorderRadiusGeometry? borderRadius})
-
Creates a TooltipTheme.
const
Properties
- backgroundColor → Color?
-
Background color of the tooltip.
final
- borderRadius → BorderRadiusGeometry?
-
Border radius of the tooltip container.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- padding → EdgeInsetsGeometry?
-
Padding around the tooltip content.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surfaceBlur → double?
-
Blur amount for the tooltip surface.
final
- surfaceOpacity → double?
-
Opacity applied to the tooltip surface color.
final
Methods
-
copyWith(
{ValueGetter< double?> ? surfaceOpacity, ValueGetter<double?> ? surfaceBlur, ValueGetter<EdgeInsetsGeometry?> ? padding, ValueGetter<Color?> ? backgroundColor, ValueGetter<BorderRadiusGeometry?> ? borderRadius}) → TooltipTheme - Creates a copy of this theme but with the given fields replaced.
-
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.
override