Inheritance
System.Object
TabBarTheme
public class TabBarTheme : Diagnosticable, IEquatable<TabBarTheme>
Constructors
TabBarTheme(Decoration, Nullable<TabBarIndicatorSize>, Color, TextStyle, Color, TextStyle)
Declaration
public TabBarTheme(Decoration indicator = null, TabBarIndicatorSize? indicatorSize = default(TabBarIndicatorSize? ), Color labelColor = 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 TextStyle labelStyle
Field Value
Declaration
public readonly Color unselectedLabelColor
Field Value
Declaration
public readonly TextStyle unselectedLabelStyle
Field Value
Methods
copyWith(Decoration, Nullable<TabBarIndicatorSize>, Color, TextStyle, Color, TextStyle)
Declaration
public TabBarTheme copyWith(Decoration indicator = null, TabBarIndicatorSize? indicatorSize = default(TabBarIndicatorSize? ), Color labelColor = null, TextStyle labelStyle = null, Color unselectedLabelColor = null, TextStyle unselectedLabelStyle = null)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(TabBarTheme other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
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
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(TabBarTheme left, TabBarTheme right)
Parameters
Returns
Type |
Description |
System.Boolean |
|