FastSegmentField<T> constructor

const FastSegmentField<T>({
  1. Key? key,
  2. required String labelText,
  3. required List<FastItem<T>> options,
  4. bool showHelperBoundaries = true,
  5. bool isReadOnly = false,
  6. int? selectedIndex = 0,
  7. ValueChanged<FastItem<T>>? onValueChanged,
  8. String? captionText,
})

Implementation

const FastSegmentField({
  Key? key,
  required this.labelText,
  required this.options,
  this.showHelperBoundaries = true,
  this.isReadOnly = false,
  this.selectedIndex = 0,
  this.onValueChanged,
  this.captionText,
}) : super(key: key);