DropdownDialog<T> class Null safety

Class mainly used internally to display the available choices. Cannot be made private because of automated testing.

Inheritance

Constructors

Properties

autofocus bool
See SearchChoices class.
final
callOnPop Function?
Function to be called whenever the dialogbox is poped or the menu gets closed.
final
closeButton → dynamic
See SearchChoices class.
final
dialogBox bool
See SearchChoices class.
final
displayItem Function?
See SearchChoices class.
final
displayMenu PointerThisPlease<bool>
See SearchChoices class.
final
doneButton → dynamic
See SearchChoices class.
final
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
hint Widget?
See SearchChoices class.
final
iconDisabledColor Color?
See SearchChoices class.
final
iconEnabledColor Color?
See SearchChoices class.
final
initialSearchTerms String
Used for the setOpenDialog. This allows the dialogbox to be opened with search terms preset from an external button as shown in example Single dialog open and set search terms.
final
isCaseSensitiveSearch bool
See SearchChoices class.
final
items List<DropdownMenuItem<T>>
See SearchChoices class.
final
key Key?
Controls how one widget replaces another widget in the tree. [...]
final, inherited
keyboardType TextInputType?
See SearchChoices class.
final
See SearchChoices class.
final
See SearchChoices class.
final
multipleSelection bool
See SearchChoices class.
final
rightToLeft bool
See SearchChoices class.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
searchFn Function?
See SearchChoices class.
final
selectedItems List<int>?
See SearchChoices class.
final
style TextStyle?
See SearchChoices class.
final
updateParent Function?
Function called to update the parent screen when necessary. Calls setState.
final
validator Function?
See SearchChoices class.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree. [...]
inherited
createState() → _DropdownDialogState<T>
Creates the mutable state for this widget at a given location in the tree. [...]
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object. [...]
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants. [...]
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object. [...]
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
@nonVirtual, inherited