TabBar constructor

const TabBar({
  1. Key? key,
  2. required List<TabBarItem> items,
  3. ValueSetter<int>? onTap,
  4. double? height,
  5. BoxDecoration? decoration,
})

Implementation

const TabBar({
  Key? key,
  required this.items,
  this.onTap,
  this.height,
  this.decoration,
}) : super(key: key);