TabBar constructor
const
TabBar({
- Key? key,
- required List<
TabBarItem> items, - ValueSetter<
int> ? onTap, - double? height,
- BoxDecoration? decoration,
Implementation
const TabBar({
Key? key,
required this.items,
this.onTap,
this.height,
this.decoration,
}) : super(key: key);