Inheritance
System.Object
ChipThemeData
public class ChipThemeData : Diagnosticable
Constructors
ChipThemeData(Color, Color, Color, Color, Color, EdgeInsets, EdgeInsets, ShapeBorder, TextStyle, TextStyle, Nullable<Brightness>, Nullable<Single>, Nullable<Single>)
Declaration
public ChipThemeData(Color backgroundColor = null, Color deleteIconColor = null, Color disabledColor = null, Color selectedColor = null, Color secondarySelectedColor = null, EdgeInsets labelPadding = null, EdgeInsets padding = null, ShapeBorder shape = null, TextStyle labelStyle = null, TextStyle secondaryLabelStyle = null, Brightness? brightness = default(Brightness? ), float? elevation = default(float? ), float? pressElevation = default(float? ))
Parameters
Fields
Declaration
public readonly Color backgroundColor
Field Value
Declaration
public readonly Brightness? brightness
Field Value
Declaration
public readonly Color deleteIconColor
Field Value
Declaration
public readonly Color disabledColor
Field Value
Declaration
public readonly float? elevation
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly EdgeInsets labelPadding
Field Value
Declaration
public readonly TextStyle labelStyle
Field Value
Declaration
public readonly EdgeInsets padding
Field Value
Declaration
public readonly float? pressElevation
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly TextStyle secondaryLabelStyle
Field Value
Declaration
public readonly Color secondarySelectedColor
Field Value
Declaration
public readonly Color selectedColor
Field Value
Declaration
public readonly ShapeBorder shape
Field Value
Methods
copyWith(Color, Color, Color, Color, Color, EdgeInsets, EdgeInsets, ShapeBorder, TextStyle, TextStyle, Nullable<Brightness>, Nullable<Single>, Nullable<Single>)
Declaration
public ChipThemeData copyWith(Color backgroundColor = null, Color deleteIconColor = null, Color disabledColor = null, Color selectedColor = null, Color secondarySelectedColor = null, EdgeInsets labelPadding = null, EdgeInsets padding = null, ShapeBorder shape = null, TextStyle labelStyle = null, TextStyle secondaryLabelStyle = null, Brightness? brightness = default(Brightness? ), float? elevation = default(float? ), float? pressElevation = default(float? ))
Parameters
Returns
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
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(ChipThemeData other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
fromDefaults(Nullable<Brightness>, Color, Color, TextStyle)
Declaration
public static ChipThemeData fromDefaults(Brightness? brightness = default(Brightness? ), Color primaryColor = null, Color secondaryColor = null, TextStyle labelStyle = null)
Parameters
Returns
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public static ChipThemeData lerp(ChipThemeData a, ChipThemeData b, float t)
Parameters
Returns
Operators
Declaration
public static bool operator ==(ChipThemeData left, ChipThemeData right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(ChipThemeData left, ChipThemeData right)
Parameters
Returns
Type |
Description |
System.Boolean |
|