RDropdownRenderRequest class sealed
Render request containing everything a dropdown renderer needs.
Follows the pattern: context + spec + state + semantics + callbacks + slots + tokens + constraints. Only includes what the renderer actually needs (perf + API stability).
Non-generic by design: Contains only UI data (labels, indices).
The component maps value ↔ index internally before calling the renderer.
See docs/V1_DECISIONS.md → "0.1 Renderer contracts".
- Annotations
Properties
- commands → RDropdownCommands
-
Internal component commands.
final
- constraints → BoxConstraints?
-
Layout constraints (e.g., minimum hit target, max menu height).
final
- context → BuildContext
-
Build context for theme/media query access.
final
- features → HeadlessRequestFeatures
-
Typed features for the request (e.g., remote loading state, error info).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
HeadlessListItemModel> -
List of items to display in the menu.
final
- overrides → RenderOverrides?
-
Per-instance override bag for preset customization.
final
- resolvedTokens → RDropdownResolvedTokens?
-
Pre-resolved visual tokens.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semantics → RDropdownSemantics?
-
Semantic information for accessibility.
final
- slots → RDropdownButtonSlots?
-
Optional slots for partial override (Replace/Decorate).
final
- spec → RDropdownButtonSpec
-
Static specification (variant, size, semantics).
final
- state → RDropdownButtonState
-
Current dropdown state (open, selection, highlight).
final
- visualEffects → HeadlessPressableVisualEffectsController?
-
Optional visual-only effects controller (pointer/hover/focus events).
final
Methods
-
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