KeyedAdhocOption<K, V> class

Implementers

Constructors

KeyedAdhocOption(K? key, V? value, {required String label, KeyedAdhocOptionCreator<K, V>? adhocCreator, dynamic icon, List? subtitle, String? selection, List<String>? extraTokens})

Properties

adhocCreator KeyedAdhocOptionCreator<K, V>?
When the user selects the ad-hoc option, if this value is non-null, it will help the user create a "real"
final
diffHashCode int
no setterinherited
diffKey → dynamic
no setter
diffSource → dynamic
no setteroverride
extraTokens List<String>?
finalinherited
hasAdhocCreator bool
no setter
hashCode int
The hash code for this object.
no setterinherited
icon → dynamic
finalinherited
key → K?
finalinherited
label String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection String
finalinherited
subtitle List?
finalinherited
value → V?
finalinherited

Methods

diffEquals(dynamic other) bool
inherited
diffIdentical(dynamic other) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runAdhocCreator(dynamic context) Future<V>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

ofString(String value) KeyedAdhocOption<String, String>