simple_dart_select_field

Last updated:

0 purchases

simple_dart_select_field Image
simple_dart_select_field Images
Add to Cart

Description:

simple dart select field

SelectField #
A selection field from a drop-down list or from a simple list with the ability to select multiple items.
Read in other languages: English, Русский.
You must initialize initOptions(List
Properties #

multiple - multiple choice
size - the number of visible elements in the list
adapter - adapter for displaying list items (Default: toString)

T - type of list elements
When using elements other than String, you must set the adapter before initializing the options.
Example #

class SelectableObject {
String name = '';

SelectableObject(this.name);
}

SelectField<SelectableObject>
()..adapter = (
(obj) => obj.name)
..initOptions([
SelectableObject('object1'),
SelectableObject('object2'),
SelectableObject('object3'),
SelectableObject('object4')
])
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.