KeyedOption<K, V> class abstract

The backing model for a drop down option. Allows us to easily render it as a tile, or in other contexts

Implementers

Constructors

KeyedOption(K key, V value, {required String label, dynamic icon, List? subtitle, String? selection, List<String> extraTokens = const []})
factory
KeyedOption.ofToString(K key, V value, {String? label, dynamic icon, List? subtitle, String? selection, List<String> extraTokens = const []})
factory

Properties

diffHashCode int
no setterinherited
diffKey → dynamic
no setterinherited
diffSource → dynamic
no setterinherited
extraTokens List<String>?
no setter
hashCode int
The hash code for this object.
no setterinherited
icon → dynamic
no setter
key → K?
no setter
label String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection String
no setter
subtitle List?
no setter
value → V?
no setter

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
toString() String
A string representation of this object.
inherited

Operators

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