SwitchTitle constructor
const
SwitchTitle({
- Key? key,
- required List<
String> nameList, - int defaultSelectIndex = 0,
- void onSelect(
- int index
- double indicatorWeight = 2.0,
- double indicatorWidth = 24.0,
- EdgeInsets padding = const EdgeInsets.fromLTRB(0, 14, 20, 14),
- TabController? controller,
- TextStyle? selectedTextStyle,
- TextStyle? unselectedTextStyle,
Implementation
const SwitchTitle(
{Key? key,
required this.nameList,
this.defaultSelectIndex = 0,
this.onSelect,
this.indicatorWeight = 2.0,
this.indicatorWidth = 24.0,
this.padding = const EdgeInsets.fromLTRB(0, 14, 20, 14),
this.controller,
this.selectedTextStyle,
this.unselectedTextStyle})
: super(key: key);