SwitchTitle constructor

const SwitchTitle({
  1. Key? key,
  2. required List<String> nameList,
  3. int defaultSelectIndex = 0,
  4. void onSelect(
    1. int index
    )?,
  5. double indicatorWeight = 2.0,
  6. double indicatorWidth = 24.0,
  7. EdgeInsets padding = const EdgeInsets.fromLTRB(0, 14, 20, 14),
  8. TabController? controller,
  9. TextStyle? selectedTextStyle,
  10. 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);