FTabs constructor
FTabs({
- required List<
FTabEntry> children, - FTabControl control = const .managed(),
- bool scrollable = false,
- ScrollPhysics? physics,
- FTabsStyle style(
- FTabsStyle style
- ValueChanged<
int> ? onPress, - MouseCursor mouseCursor = .defer,
- Key? key,
Implementation
FTabs({
required this.children,
this.control = const .managed(),
this.scrollable = false,
this.physics,
this.style,
this.onPress,
this.mouseCursor = .defer,
super.key,
}) : assert(children.isNotEmpty, 'Must provide at least 1 tab.');