FTabsStyle class final
FTabs's style.
- Mixed-in types
Constructors
- FTabsStyle({required BoxDecoration decoration, required TextStyle selectedLabelTextStyle, required TextStyle unselectedLabelTextStyle, required BoxDecoration indicatorDecoration, required FFocusedOutlineStyle focusedOutlineStyle, EdgeInsets padding = const EdgeInsets.all(4), FTabBarIndicatorSize indicatorSize = FTabBarIndicatorSize.tab, double height = 35, double spacing = 10})
- Creates a FTabsStyle.
- FTabsStyle.inherit({required FColorScheme colorScheme, required FTypography typography, required FStyle style})
-
Creates a FTabsStyle that inherits its properties from
colorScheme
.
Properties
- decoration → BoxDecoration
-
The decoration.
final
- focusedOutlineStyle → FFocusedOutlineStyle
-
The focused outline style.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
The height.
final
- indicatorDecoration → BoxDecoration
-
The indicator.
final
- indicatorSize → FTabBarIndicatorSize
-
The indicator size.
final
- padding → EdgeInsets
-
The padding.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedLabelTextStyle → TextStyle
-
The TextStyle of the label.
final
- spacing → double
-
The spacing between the tab bar and the views.
final
- unselectedLabelTextStyle → TextStyle
-
The TextStyle of the label.
final
Methods
-
copyWith(
{EdgeInsets? padding, BoxDecoration? decoration, TextStyle? selectedLabelTextStyle, TextStyle? unselectedLabelTextStyle, BoxDecoration? indicatorDecoration, FTabBarIndicatorSize? indicatorSize, double? height, double? spacing, FFocusedOutlineStyle? focusedOutlineStyle}) → FTabsStyle - Creates a copy of this FCardStyle with the given properties replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override