CustomSlidingSegmentedControl<T extends Object> constructor

const CustomSlidingSegmentedControl<T extends Object>({
  1. required Map<T, Widget> children,
  2. required ValueChanged<T?> onValueChanged,
  3. Key? key,
  4. T? groupValue,
  5. Color? thumbColor,
  6. EdgeInsetsGeometry? padding,
  7. Color? backgroundColor,
})

SlidingSegmentedControl 滑动分段控制器组件

Implementation

const CustomSlidingSegmentedControl({
  required this.children,
  required this.onValueChanged,
  super.key,
  this.groupValue,
  this.thumbColor,
  this.padding,
  this.backgroundColor,
});