RDropdownCommands class final

Commands for dropdown interactions (internal component API).

These are NOT "user callbacks". They are imperative commands that the renderer may invoke to delegate behavior back to the component.

Uses indices instead of generic values — the component handles the mapping.

Annotations

Constructors

RDropdownCommands({required VoidCallback open, required VoidCallback close, required void selectIndex(int index), required void highlight(int index), required VoidCallback completeClose})
const

Properties

close VoidCallback
Start closing animation (phase -> closing).
final
completeClose VoidCallback
Complete close after exit animation (removes overlay).
final
hashCode int
The hash code for this object.
no setterinherited
highlight → void Function(int index)
Highlight an item by index (keyboard navigation).
final
open VoidCallback
Open the menu.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectIndex → void Function(int index)
Select an item by index.
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