MiuixGlassSegmentedTabRow constructor

const MiuixGlassSegmentedTabRow({
  1. Key? key,
  2. required List<String> tabs,
  3. required int selectedIndex,
  4. required ValueChanged<int>? onSelect,
  5. MiuixBackdrop? backdrop,
  6. MiuixGlassStyle? style,
  7. MiuixGlassMaterial? material,
  8. double alpha = 1,
  9. double surfaceAlpha = 1,
  10. double height = 40,
  11. Color? trackColor,
  12. Color? indicatorColor,
  13. Color? selectedContentColor,
  14. Color? contentColor,
  15. MiuixGlassStroke? stroke,
  16. 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,
});