InkwellButtonState class

The state for an InkwellButton.

Inheritance
Implemented types
Mixed-in types

Constructors

InkwellButtonState()

Properties

context → BuildContext
The location in the tree where this widget builds.
no setterinherited
focusNode ↔ FocusNode
The underlying focus node.
getter/setter pairinherited
focusNodeIdPrefix → String
A unique ID prefix for the focus node.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
internalContext ↔ BuildContext?
Undocumented public member.
getter/setter pairinherited
internalWidget ↔ InkwellButton?
Undocumented public member.
getter/setter pairinherited
isHovered → bool
Exposed for testing
no setter
isPressed → bool
Exposed for testing
no setter
isTickerActive → bool
Returns whether the periodic vsync ticker is currently running.
no setterinherited
isWidgetFocused → bool
Subclasses must override this to return the widget's focus property.
no setteroverride
mounted → bool
Whether this State object is currently in a tree.
no setterinherited
rippleCenterX → double
Exposed for testing
no setter
rippleCenterY → double
Exposed for testing
no setter
rippleProgress → double
Exposed for testing
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vsyncInterval → Duration
The vsync interval used by the widget fallback. Resolves dynamically to TuiAnimationConfig.vsyncInterval to support user-tuned frame rates.
no setterinherited
widget → InkwellButton
The current configuration.
no setterinherited

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
deregisterEffect(TuiAnimationEffect effect) → void
Deregisters an animation effect.
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant InkwellButton oldWidget) → void
Called whenever the widget configuration changes.
override
dispose() → void
Called when this object is removed from the tree permanently.
override
handleMouseEvent(MouseEvent event, int localX, int localY) → void
Handles mouse interactions.
override
initState() → void
Called when this object is inserted into the tree.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintEffects(Buffer buffer, Rect area, Style baseStyle) → void
Iterates and applies all active registered animation layers onto the buffer.
inherited
reassemble() → void
Called when the application is reassembled during debugging (hot reload).
inherited
registerEffect(TuiAnimationEffect effect) → void
Registers an animation effect to be updated and rendered by this state.
inherited
reverseEffect(TuiAnimationEffect effect) → void
Reverses an active effect.
inherited
setState(VoidCallback fn) → void
Notifies the framework that the internal state of this object has changed.
inherited
toString() → String
A string representation of this object.
inherited
triggerEffect(TuiAnimationEffect effect, Point<int> clickPoint) → void
Triggers an effect at a specific local coordinate.
inherited
updateFocusIfNeeded(bool wasFocused, bool isFocused) → void
Updates focus node request state if the widget focus changed.
inherited

Operators

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