BsSelectBoxOption class
Class list options of BsSelectBox
Constructors
- BsSelectBoxOption({required dynamic value, required Widget text, String? searchable, dynamic other})
-
Contruct BsSelectBoxOption
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchable → String
-
searchable getter function, when searchable not defined, this function will returned
value
no setter
Methods
-
getOtherValue(
) → dynamic -
getText(
) → Widget - get text of option
-
getValue(
) → dynamic - get value of option
-
getValueAsString(
) → String - get value of option in string type
-
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