BaseSegmentedControl constructor

const BaseSegmentedControl({
  1. Key? key,
  2. required List<String> labels,
  3. required int selectedIndex,
  4. required ValueChanged<int> onValueChanged,
  5. double? labelSize,
  6. BaseParam? baseParam,
})

Implementation

const BaseSegmentedControl({
  Key? key,
  required this.labels,
  required this.selectedIndex,
  required this.onValueChanged,
  this.labelSize,
  BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);