public class TabBarTheme : Diagnosticable, IEquatable<TabBarTheme>
Constructors
TabBarTheme(Decoration, Nullable<TabBarIndicatorSize>, Color, EdgeInsets, TextStyle, Color, TextStyle)
Declaration
public TabBarTheme(Decoration indicator = null, TabBarIndicatorSize? indicatorSize = default(TabBarIndicatorSize? ), Color labelColor = null, EdgeInsets labelPadding = null, TextStyle labelStyle = null, Color unselectedLabelColor = null, TextStyle unselectedLabelStyle = null)
Parameters
Fields
Declaration
public readonly Decoration indicator
Field Value
Declaration
public readonly TabBarIndicatorSize? indicatorSize
Field Value
Declaration
public readonly Color labelColor
Field Value
Declaration
public readonly EdgeInsets labelPadding
Field Value
Declaration
public readonly TextStyle labelStyle
Field Value
Declaration
public readonly Color unselectedLabelColor
Field Value
Declaration
public readonly TextStyle unselectedLabelStyle
Field Value
Methods
copyWith(Decoration, Nullable<TabBarIndicatorSize>, Color, EdgeInsets, TextStyle, Color, TextStyle)
Declaration
public TabBarTheme copyWith(Decoration indicator = null, TabBarIndicatorSize? indicatorSize = default(TabBarIndicatorSize? ), Color labelColor = null, EdgeInsets labelPadding = null, TextStyle labelStyle = null, Color unselectedLabelColor = null, TextStyle unselectedLabelStyle = null)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Declaration
public bool Equals(TabBarTheme other)
Parameters
Returns
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public static TabBarTheme lerp(TabBarTheme a, TabBarTheme b, float t)
Parameters
Returns
of(BuildContext)
Declaration
public static TabBarTheme of(BuildContext context)
Parameters
Returns
Operators
Declaration
public static bool operator ==(TabBarTheme left, TabBarTheme right)
Parameters
Returns
Declaration
public static bool operator !=(TabBarTheme left, TabBarTheme right)
Parameters
Returns