AntdSegmented constructor

const AntdSegmented({
  1. Key? key,
  2. bool disabled = false,
  3. String? value,
  4. required List<AntdSegmentedItem> items,
  5. ValueChanged<String?>? onChange,
  6. Duration duration = const Duration(milliseconds: 200),
  7. AntdHapticFeedback? hapticFeedback = AntdHapticFeedback.light,
})

Implementation

const AntdSegmented(
    {super.key,
    this.disabled = false,
    this.value,
    required this.items,
    this.onChange,
    this.duration = const Duration(milliseconds: 200),
    this.hapticFeedback = AntdHapticFeedback.light});