TabPaneTheme class

Theme configuration for TabPane appearance and layout.

TabPaneTheme defines the visual styling for tab pane components including borders, background colors, dimensions, and corner rounding. All properties are optional and fall back to theme defaults when not specified.

Example:

ComponentTheme<TabPaneTheme>(
  data: TabPaneTheme(
    borderRadius: BorderRadius.circular(12),
    backgroundColor: Colors.white,
    border: BorderSide(color: Colors.grey),
    barHeight: 40.0,
  ),
  child: TabPane(...),
)

Theme for TabPane.

Constructors

TabPaneTheme({BorderRadiusGeometry? borderRadius, Color? backgroundColor, BorderSide? border, double? barHeight})
const

Properties

backgroundColor Color?
Background color for the tab pane content area and active tabs.
final
barHeight double?
Height of the tab bar area in logical pixels.
final
border BorderSide?
Border styling for the tab pane container.
final
borderRadius BorderRadiusGeometry?
Border radius for the tab pane container and individual tabs.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ValueGetter<BorderRadiusGeometry?>? borderRadius, ValueGetter<Color?>? backgroundColor, ValueGetter<BorderSide?>? border, ValueGetter<double?>? barHeight}) TabPaneTheme
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