options property Null safety

List<T> options
final

The available options for TypeSelector.

The options list must not be null. The options list must contain at least 2 elements.

Example of usage:

TypeSelector<bool>(
  options: [true, false],
  // other properties
);

Implementation

final List<T> options;