AdhocOption<V> class

Inheritance

Constructors

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

Properties

adhocCreator KeyedAdhocOptionCreator<V, V>?
When the user selects the ad-hoc option, if this value is non-null, it will help the user create a "real"
finalinherited
diffHashCode int
no setterinherited
diffKey → dynamic
no setterinherited
diffSource → dynamic
no setterinherited
extraTokens List<String>?
finalinherited
hasAdhocCreator bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icon → dynamic
finalinherited
key → V?
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>
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

ofString(String value) AdhocOption<String>
override