TabsTheme class
Theme data for customizing Tabs widget appearance.
This class defines the visual properties that can be applied to Tabs widgets, including padding for the container and individual tabs, background colors, and border radius styling. These properties can be set at the theme level to provide consistent styling across the application.
- Inheritance
-
- Object
- ComponentThemeData
- TabsTheme
Constructors
- TabsTheme({EdgeInsetsGeometry? containerPadding, EdgeInsetsGeometry? tabPadding, Color? backgroundColor, BorderRadiusGeometry? borderRadius})
-
Creates a tabs theme.
const
Properties
- backgroundColor → Color?
-
Background color for the tabs container.
final
- borderRadius → BorderRadiusGeometry?
-
Corner radius for the tabs container.
final
- containerPadding → EdgeInsetsGeometry?
-
Padding around the entire tabs container.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabPadding → EdgeInsetsGeometry?
-
Padding inside individual tab headers.
final
Methods
-
copyWith(
{ValueGetter< EdgeInsetsGeometry?> ? containerPadding, ValueGetter<EdgeInsetsGeometry?> ? tabPadding, ValueGetter<Color?> ? backgroundColor, ValueGetter<BorderRadiusGeometry?> ? borderRadius}) → TabsTheme - Creates a copy of this theme with optionally replaced values.
-
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.
override