Class FloatingActionButtonThemeData
Inherited Members
Namespace: Unity.UIWidgets.material
Syntax
public class FloatingActionButtonThemeData : Diagnosticable
Constructors
FloatingActionButtonThemeData(Color, Color, Nullable<Single>, Nullable<Single>, Nullable<Single>, ShapeBorder)
Declaration
public FloatingActionButtonThemeData(Color backgroundColor = null, Color foregroundColor = null, float? elevation = default(float? ), float? disabledElevation = default(float? ), float? highlightElevation = default(float? ), ShapeBorder shape = null)
Parameters
Type | Name | Description |
---|---|---|
Color | backgroundColor | |
Color | foregroundColor | |
Nullable<Single> | elevation | |
Nullable<Single> | disabledElevation | |
Nullable<Single> | highlightElevation | |
ShapeBorder | shape |
Fields
backgroundColor
Declaration
public readonly Color backgroundColor
Field Value
Type | Description |
---|---|
Color |
disabledElevation
Declaration
public readonly float? disabledElevation
Field Value
Type | Description |
---|---|
Nullable<Single> |
elevation
Declaration
public readonly float? elevation
Field Value
Type | Description |
---|---|
Nullable<Single> |
foregroundColor
Declaration
public readonly Color foregroundColor
Field Value
Type | Description |
---|---|
Color |
highlightElevation
Declaration
public readonly float? highlightElevation
Field Value
Type | Description |
---|---|
Nullable<Single> |
shape
Declaration
public readonly ShapeBorder shape
Field Value
Type | Description |
---|---|
ShapeBorder |
Methods
copyWith(Color, Color, Nullable<Single>, Nullable<Single>, Nullable<Single>, ShapeBorder)
Declaration
public FloatingActionButtonThemeData copyWith(Color backgroundColor, Color foregroundColor, float? elevation, float? disabledElevation, float? highlightElevation, ShapeBorder shape)
Parameters
Type | Name | Description |
---|---|---|
Color | backgroundColor | |
Color | foregroundColor | |
Nullable<Single> | elevation | |
Nullable<Single> | disabledElevation | |
Nullable<Single> | highlightElevation | |
ShapeBorder | shape |
Returns
Type | Description |
---|---|
FloatingActionButtonThemeData |
debugFillProperties(DiagnosticPropertiesBuilder)
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Type | Name | Description |
---|---|---|
DiagnosticPropertiesBuilder | properties |
Overrides
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Equals(FloatingActionButtonThemeData)
Declaration
public bool Equals(FloatingActionButtonThemeData other)
Parameters
Type | Name | Description |
---|---|---|
FloatingActionButtonThemeData | other |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
lerp(FloatingActionButtonThemeData, FloatingActionButtonThemeData, Single)
Declaration
public static FloatingActionButtonThemeData lerp(FloatingActionButtonThemeData a, FloatingActionButtonThemeData b, float t)
Parameters
Type | Name | Description |
---|---|---|
FloatingActionButtonThemeData | a | |
FloatingActionButtonThemeData | b | |
Single | t |
Returns
Type | Description |
---|---|
FloatingActionButtonThemeData |