RTextFieldTokenResolver class abstract interface

Token resolver capability for TextField components.

This is a capability contract (ISP): components request this interface via HeadlessTheme.capability<RTextFieldTokenResolver>().

The resolver computes visual tokens based on:

  • spec (label, error, multiline, etc.)
  • current widget states (focused, hovered, disabled, error)
  • platform density / constraints

The component calls this to get resolved tokens, then passes them to the renderer. The renderer never does token resolution.

See docs/V1_DECISIONS.md → "Token Resolution Layer".

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve({required BuildContext context, required RTextFieldSpec spec, required Set<WidgetState> states, BoxConstraints? constraints, RenderOverrides? overrides}) RTextFieldResolvedTokens
Resolve visual tokens for the given text field state.
toString() String
A string representation of this object.
inherited

Operators

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