FTabsStyle class - forui.widgets.tabs library (original) (raw)

Constructors

FTabsStyle.new({required BoxDecoration decoration, required TextStyle selectedLabelTextStyle, required TextStyle unselectedLabelTextStyle, required BoxDecoration indicatorDecoration, required FFocusedOutlineStyle focusedOutlineStyle, EdgeInsetsGeometry padding = const EdgeInsets.all(4), FTabBarIndicatorSize indicatorSize = FTabBarIndicatorSize.tab, double height = 35, double spacing = 10})

Creates a FTabsStyle.

FTabsStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})

Creates a FTabsStyle that inherits its properties.

Methods

copyWith({BoxDecoration? decoration, EdgeInsetsGeometry? padding, TextStyle? selectedLabelTextStyle, TextStyle? unselectedLabelTextStyle, BoxDecoration? indicatorDecoration, FTabBarIndicatorSize? indicatorSize, double? height, double? spacing, FFocusedOutlineStyle? focusedOutlineStyle})→ FTabsStyle

Returns a copy of this FTabsStyle with the given properties replaced.

inherited

debugFillProperties(DiagnosticPropertiesBuilder properties)→ void

Add additional properties associated with the node.

inherited

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 thehashCode.

inherited

transform(T function(T))→ T

Available on T, provided by the FTransformables extension

Transform this T using the given function.