TabPane constructor
const
TabPane({
- required List<
TabItem> tabs, - int focused = 0,
- required ValueChanged<
int> onFocused, - List<
Widget> leading = const [], - List<
Widget> trailing = const [], - BorderRadiusGeometry? borderRadius,
- Color? backgroundColor,
- BorderSide? border,
- ValueChanged<
List< ? onSort,TabItem> > - required Widget child,
- 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,
});