MiuixGlassSegmentedTabRow constructor
const
MiuixGlassSegmentedTabRow({
- Key? key,
- required List<
String> tabs, - required int selectedIndex,
- required ValueChanged<
int> ? onSelect, - MiuixBackdrop? backdrop,
- MiuixGlassStyle? style,
- MiuixGlassMaterial? material,
- double alpha = 1,
- double surfaceAlpha = 1,
- double height = 40,
- Color? trackColor,
- Color? indicatorColor,
- Color? selectedContentColor,
- Color? contentColor,
- MiuixGlassStroke? stroke,
- MiuixGlassShadow? shadow = MiuixGlassShadows.floating,
Implementation
const MiuixGlassSegmentedTabRow({
super.key,
required this.tabs,
required this.selectedIndex,
required this.onSelect,
this.backdrop,
this.style,
this.material,
this.alpha = 1,
this.surfaceAlpha = 1,
this.height = 40,
this.trackColor,
this.indicatorColor,
this.selectedContentColor,
this.contentColor,
this.stroke,
this.shadow = MiuixGlassShadows.floating,
});