Class Ink
Inheritance
Ink
Inherited Members
Namespace: Unity.UIWidgets.material
Syntax
public class Ink : StatefulWidget
Constructors
Ink(Key, EdgeInsets, Color, Decoration, Nullable<Single>, Nullable<Single>, Widget)
Declaration
public Ink(Key key = null, EdgeInsets padding = null, Color color = null, Decoration decoration = null, float? width = default(float? ), float? height = default(float? ), Widget child = null)
Parameters
Type | Name | Description |
---|---|---|
Key | key | |
EdgeInsets | padding | |
Color | color | |
Decoration | decoration | |
Nullable<Single> | width | |
Nullable<Single> | height | |
Widget | child |
Fields
child
Declaration
public readonly Widget child
Field Value
Type | Description |
---|---|
Widget |
decoration
Declaration
public readonly Decoration decoration
Field Value
Type | Description |
---|---|
Decoration |
height
Declaration
public readonly float? height
Field Value
Type | Description |
---|---|
Nullable<Single> |
padding
Declaration
public readonly EdgeInsets padding
Field Value
Type | Description |
---|---|
EdgeInsets |
width
Declaration
public readonly float? width
Field Value
Type | Description |
---|---|
Nullable<Single> |
Properties
_paddingIncludingDecoration
Declaration
public EdgeInsets _paddingIncludingDecoration { get; }
Property Value
Type | Description |
---|---|
EdgeInsets |
Methods
createState()
Declaration
public override State createState()
Returns
Type | Description |
---|---|
State |
Overrides
debugFillProperties(DiagnosticPropertiesBuilder)
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Type | Name | Description |
---|---|---|
DiagnosticPropertiesBuilder | properties |
Overrides
image(Key, EdgeInsets, ImageProvider, ColorFilter, Nullable<BoxFit>, Alignment, Rect, ImageRepeat, Nullable<Single>, Nullable<Single>, Widget)
Declaration
public static Ink image(Key key = null, EdgeInsets padding = null, ImageProvider image = null, ColorFilter colorFilter = null, BoxFit? fit = default(BoxFit? ), Alignment alignment = null, Rect centerSlice = null, ImageRepeat repeat = ImageRepeat.noRepeat, float? width = default(float? ), float? height = default(float? ), Widget child = null)
Parameters
Type | Name | Description |
---|---|---|
Key | key | |
EdgeInsets | padding | |
ImageProvider | image | |
ColorFilter | colorFilter | |
Nullable<BoxFit> | fit | |
Alignment | alignment | |
Rect | centerSlice | |
ImageRepeat | repeat | |
Nullable<Single> | width | |
Nullable<Single> | height | |
Widget | child |
Returns
Type | Description |
---|---|
Ink |