TabPane constructor

const TabPane({
  1. required List<TabItem> tabs,
  2. int focused = 0,
  3. required ValueChanged<int> onFocused,
  4. List<Widget> leading = const [],
  5. List<Widget> trailing = const [],
  6. BorderRadiusGeometry? borderRadius,
  7. Color? backgroundColor,
  8. BorderSide? border,
  9. ValueChanged<List<TabItem>>? onSort,
  10. required Widget child,
  11. double? barHeight,
})

Implementation

const TabPane({
  required this.tabs,
  this.focused = 0,
  required this.onFocused,
  this.leading = const [],
  this.trailing = const [],
  this.borderRadius,
  this.backgroundColor,
  this.border,
  this.onSort,
  required this.child,
  this.barHeight,
});