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