SubSwitchTitle constructor

const SubSwitchTitle({
  1. Key? key,
  2. required List<String> nameList,
  3. int defaultSelectIndex = 0,
  4. void onSelect(
    1. int index
    )?,
  5. EdgeInsets? padding,
  6. TabController? controller,
})

Implementation

const SubSwitchTitle({
  Key? key,
  required this.nameList,
  this.defaultSelectIndex = 0,
  this.onSelect,
  this.padding,
  this.controller,
}) : super(key: key);