Tabs constructor

const Tabs({
  1. Key? key,
  2. required int index,
  3. required ValueChanged<int> onChanged,
  4. required List<TabChild> children,
  5. Color? backgroundColor,
  6. Color? selectedColor,
  7. EdgeInsetsGeometry? padding,
})

Implementation

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