CustomSlidingSegmentedControl<T extends Object> constructor
const
CustomSlidingSegmentedControl<T extends Object> ({
- required Map<
T, Widget> children, - required ValueChanged<
T?> onValueChanged, - Key? key,
- T? groupValue,
- Color? thumbColor,
- EdgeInsetsGeometry? padding,
- Color? backgroundColor,
SlidingSegmentedControl 滑动分段控制器组件
Implementation
const CustomSlidingSegmentedControl({
required this.children,
required this.onValueChanged,
super.key,
this.groupValue,
this.thumbColor,
this.padding,
this.backgroundColor,
});