LiveChoiceExtension<T extends Named<T>> extension

A Simple Choice Item extension on Value<Choice<I, T>>

This extension provides a simple way to access the properties of Choice without having to access the value property

This extension is only available for Value<Choice<I, T>>, and it's subtypes.

on

Methods

select(Map<String, dynamic> properties) → void

Available on LiveValue<Choice<T>>, provided by the LiveChoiceExtension extension

Selects this choice item
selectIndex(int index) → void

Available on LiveValue<Choice<T>>, provided by the LiveChoiceExtension extension

Selects this choice item by index

This is equivalent to calling Choice.selectIndex with the index of this choice item

The index must be unique to avoid accidental collisions.