Class CardTheme
Inherited Members
Namespace: Unity.UIWidgets.material
Syntax
public class CardTheme : Diagnosticable
Constructors
CardTheme(Nullable<Clip>, Color, Nullable<Single>, EdgeInsets, ShapeBorder)
Declaration
public CardTheme(Clip? clipBehavior = default(Clip? ), Color color = null, float? elevation = default(float? ), EdgeInsets margin = null, ShapeBorder shape = null)
Parameters
Type | Name | Description |
---|---|---|
Nullable<Clip> | clipBehavior | |
Color | color | |
Nullable<Single> | elevation | |
EdgeInsets | margin | |
ShapeBorder | shape |
Fields
clipBehavior
Declaration
public readonly Clip? clipBehavior
Field Value
Type | Description |
---|---|
Nullable<Clip> |
color
Declaration
public readonly Color color
Field Value
Type | Description |
---|---|
Color |
elevation
Declaration
public readonly float? elevation
Field Value
Type | Description |
---|---|
Nullable<Single> |
margin
Declaration
public readonly EdgeInsets margin
Field Value
Type | Description |
---|---|
EdgeInsets |
shape
Declaration
public readonly ShapeBorder shape
Field Value
Type | Description |
---|---|
ShapeBorder |
Methods
debugFillProperties(DiagnosticPropertiesBuilder)
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Type | Name | Description |
---|---|---|
DiagnosticPropertiesBuilder | properties |
Overrides
Equals(CardTheme)
Declaration
public bool Equals(CardTheme other)
Parameters
Type | Name | Description |
---|---|---|
CardTheme | other |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
lerp(CardTheme, CardTheme, Single)
Declaration
public static CardTheme lerp(CardTheme a, CardTheme b, float t)
Parameters
Type | Name | Description |
---|---|---|
CardTheme | a | |
CardTheme | b | |
Single | t |
Returns
Type | Description |
---|---|
CardTheme |
of(BuildContext)
Declaration
public static CardTheme of(BuildContext context)
Parameters
Type | Name | Description |
---|---|---|
BuildContext | context |
Returns
Type | Description |
---|---|
CardTheme |