const
TabBar(- {Key? key,
- required List<Widget> tabs,
- bool isScrollable,
- IntSelectionCallback? onTap,
- EdgeInsets? padding,
- Color? indicatorColor,
- bool automaticIndicatorColorAdjustment,
- double indicatorWeight,
- EdgeInsets indicatorPadding,
- Decoration? indicator,
- TabBarIndicatorSize? indicatorSize,
- Color? dividerColor,
- Color? labelColor,
- TextStyle? labelStyle,
- EdgeInsets? labelPadding,
- Color? unselectedLabelColor,
- TextStyle? unselectedLabelStyle,
- DragStartBehavior dragStartBehavior,
- MaterialStateProperty? overlayColor,
- MouseCursor? mouseCursor,
- bool? enableFeedback,
- ScrollPhysics? physics,
- BorderRadius? splashBorderRadius}
)
Implementation
const factory TabBar(
{final Key? key,
required final List<Widget> tabs,
final bool isScrollable,
final IntSelectionCallback? onTap,
final EdgeInsets? padding,
final Color? indicatorColor,
final bool automaticIndicatorColorAdjustment,
final double indicatorWeight,
final EdgeInsets indicatorPadding,
final Decoration? indicator,
final TabBarIndicatorSize? indicatorSize,
final Color? dividerColor,
final Color? labelColor,
final TextStyle? labelStyle,
final EdgeInsets? labelPadding,
final Color? unselectedLabelColor,
final TextStyle? unselectedLabelStyle,
final DragStartBehavior dragStartBehavior,
final MaterialStateProperty? overlayColor,
final MouseCursor? mouseCursor,
final bool? enableFeedback,
final ScrollPhysics? physics,
final BorderRadius? splashBorderRadius}) = _$TabBar;