NesTooltipTheme class

Class with information regarding tooltips inside NesUI.

Inheritance

Constructors

NesTooltipTheme({required Color background, required Color textColor})
Class with information regarding tooltips inside NesUI.
const

Properties

background Color
The color for the tooltip background. Defaults to TextTheme.bodyMedium.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color
The color for the text message. Defaults to Theme.background.
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({Color? background, Color? textColor}) NesTooltipTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<NesTooltipTheme>? other, double t) ThemeExtension<NesTooltipTheme>
Linearly interpolate with another ThemeExtension object.
override
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