Tabs constructor
const
Tabs({
- Key? key,
- required int index,
- required ValueChanged<
int> onChanged, - required List<
TabChild> children, - Color? backgroundColor,
- Color? selectedColor,
- EdgeInsetsGeometry? padding,
Implementation
const Tabs({
super.key,
required this.index,
required this.onChanged,
required this.children,
this.backgroundColor,
this.selectedColor,
this.padding,
});