MiuixTabRowWithContour constructor
const
MiuixTabRowWithContour({
- Key? key,
- required List<
String> tabs, - required int selectedTabIndex,
- required ValueChanged<
int> onTabSelected, - MiuixTabRowColors? colors,
- double minWidth = MiuixTabRowDefaults.tabRowWithContourMinWidth,
- double maxWidth = MiuixTabRowDefaults.tabRowWithContourMaxWidth,
- double height = MiuixTabRowDefaults.tabRowWithContourHeight,
- double cornerRadius = MiuixTabRowDefaults.tabRowWithContourCornerRadius,
- double itemSpacing = MiuixTabRowDefaults.contourItemSpacing,
- AlignmentGeometry contentAlignment = Alignment.center,
- ScrollController? scrollController,
Implementation
const MiuixTabRowWithContour({
super.key,
required this.tabs,
required this.selectedTabIndex,
required this.onTabSelected,
this.colors,
this.minWidth = MiuixTabRowDefaults.tabRowWithContourMinWidth,
this.maxWidth = MiuixTabRowDefaults.tabRowWithContourMaxWidth,
this.height = MiuixTabRowDefaults.tabRowWithContourHeight,
this.cornerRadius = MiuixTabRowDefaults.tabRowWithContourCornerRadius,
this.itemSpacing = MiuixTabRowDefaults.contourItemSpacing,
this.contentAlignment = Alignment.center,
this.scrollController,
});