Tabs constructor

const Tabs({
  1. Key? key,
  2. required int index,
  3. required ValueChanged<int> onChanged,
  4. required List<Widget> tabs,
  5. EdgeInsetsGeometry? padding,
})

Implementation

const Tabs({
  super.key,
  required this.index,
  required this.onChanged,
  required this.tabs,
  this.padding,
});