TabBarParameters class
Contains parameters to customize the TabBar.
It includes all the same arguments as the TabBar(), excepting the 'tabs', 'onTap' and 'controller', which are managed by the TabsNavigationBuilder.
See also:
Constructors
-
TabBarParameters({bool isScrollable = false, EdgeInsetsGeometry? padding, Color? indicatorColor, bool automaticIndicatorColorAdjustment = true, double indicatorWeight = 2.0, EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero, Decoration? indicator, TabBarIndicatorSize? indicatorSize, Color? labelColor, TextStyle? labelStyle, EdgeInsetsGeometry? labelPadding, Color? unselectedLabelColor, TextStyle? unselectedLabelStyle, DragStartBehavior dragStartBehavior = DragStartBehavior.start, MaterialStateProperty<
Color?> ? overlayColor, MouseCursor? mouseCursor, bool? enableFeedback, ScrollPhysics? physics, InteractiveInkFeatureFactory? splashFactory, BorderRadius? splashBorderRadius}) -
Create a TabBarParameters instance.
const
Properties
- automaticIndicatorColorAdjustment → bool
-
TabBar.automaticIndicatorColorAdjustment
final
- dragStartBehavior → DragStartBehavior
-
TabBar.dragStartBehavior
final
- enableFeedback → bool?
-
TabBar.enableFeedback
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicator → Decoration?
-
TabBar.indicator
final
- indicatorColor → Color?
-
TabBar.indicatorColor
final
- indicatorPadding → EdgeInsetsGeometry
-
TabBar.indicatorPadding
final
- indicatorSize → TabBarIndicatorSize?
-
TabBar.indicatorSize
final
- indicatorWeight → double
-
TabBar.indicatorWeight
final
- isScrollable → bool
-
TabBar.isScrollable
final
- labelColor → Color?
-
TabBar.labelColor
final
- labelPadding → EdgeInsetsGeometry?
-
TabBar.labelPadding
final
- labelStyle → TextStyle?
-
TabBar.labelStyle
final
- mouseCursor → MouseCursor?
-
TabBar.mouseCursor
final
-
overlayColor
→ MaterialStateProperty<
Color?> ? -
TabBar.overlayColor
final
- padding → EdgeInsetsGeometry?
-
TabBar.padding
final
- physics → ScrollPhysics?
-
TabBar.physics
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- splashBorderRadius → BorderRadius?
-
TabBar.splashBorderRadius
final
- splashFactory → InteractiveInkFeatureFactory?
-
TabBar.splashFactory
final
- unselectedLabelColor → Color?
-
TabBar.unselectedLabelColor
final
- unselectedLabelStyle → TextStyle?
-
TabBar.unselectedLabelStyle
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited