SDropdownController class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isExpanded
→ bool
-
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
tapRegionGroupId
→ Object
-
Unique tap region group ID generated when controller is created.
Available immediately without needing state attachment.
final
Methods
-
close()
→ void
-
-
closeWithoutSelection()
→ void
-
-
ensureHighlightInitialized()
→ void
-
-
highlightAtIndex(int index)
→ void
-
Highlight the item at the given original index (index in the
items list)
-
highlightItem(String value)
→ void
-
Highlight the item with the given value
-
highlightNext()
→ void
-
-
highlightPrevious()
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
open()
→ void
-
Get the tap region group ID used by this dropdown.
Use this ID to group control buttons with the dropdown so they won't trigger
the onTapOutside handler. Wrap your buttons with TapRegion(groupId: tapRegionGroupId, ...)
This ID is available immediately and doesn't require state attachment.
-
selectHighlighted()
→ void
-
-
selectIndex(int index)
→ void
-
Select (and highlight) the item at the given original index (index in the
items list)
-
selectItem(String value)
→ void
-
Select (and highlight) the item with the given value
-
selectNext()
→ void
-
Select the next item in the list. If none is selected, selects the first item.
-
selectPrevious()
→ void
-
Select the previous item in the list. If none is selected, selects the first item.
-
toggle()
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited