AntdSegmented constructor

const AntdSegmented({
  1. Key? key,
  2. AntdSegmentedStyle? style,
  3. AntdStyleBuilder<AntdSegmentedStyle, AntdSegmented>? styleBuilder,
  4. bool? disabled,
  5. bool? readOnly,
  6. dynamic value,
  7. bool? autoCollect = true,
  8. ValueChanged? onChange,
  9. bool? shouldTriggerChange = true,
  10. AntdHapticFeedback? hapticFeedback = AntdHapticFeedback.light,
  11. bool? manual,
  12. required List<AntdSegmentedItem> items,
  13. Duration duration = const Duration(milliseconds: 200),
})

Implementation

const AntdSegmented(
    {super.key,
    super.style,
    super.styleBuilder,
    super.disabled,
    super.readOnly,
    super.value,
    super.autoCollect,
    super.onChange,
    super.shouldTriggerChange,
    super.hapticFeedback,
    super.manual,
    required this.items,
    this.duration = const Duration(milliseconds: 200)});