Inheritance
System.Object
RawImage
public class RawImage : LeafRenderObjectWidget
Constructors
Declaration
public RawImage(Key key = null, Image image = null, float? width = default(float? ), float? height = default(float? ), float scale = 1F, Color color = null, BlendMode colorBlendMode = BlendMode.srcIn, BoxFit? fit = default(BoxFit? ), Alignment alignment = null, ImageRepeat repeat = ImageRepeat.noRepeat, Rect centerSlice = null, bool invertColors = false, FilterMode filterMode = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
Image |
image |
|
System.Nullable<System.Single> |
width |
|
System.Nullable<System.Single> |
height |
|
System.Single |
scale |
|
Color |
color |
|
BlendMode |
colorBlendMode |
|
System.Nullable<BoxFit> |
fit |
|
Alignment |
alignment |
|
ImageRepeat |
repeat |
|
Rect |
centerSlice |
|
System.Boolean |
invertColors |
|
FilterMode |
filterMode |
|
Fields
Declaration
public readonly Alignment alignment
Field Value
Declaration
public readonly Rect centerSlice
Field Value
Declaration
public readonly Color color
Field Value
Declaration
public readonly BlendMode colorBlendMode
Field Value
Declaration
public readonly FilterMode filterMode
Field Value
Type |
Description |
FilterMode |
|
Declaration
public readonly BoxFit? fit
Field Value
Type |
Description |
System.Nullable<BoxFit> |
|
Declaration
public readonly float? height
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly Image image
Field Value
Declaration
public readonly bool invertColors
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly ImageRepeat repeat
Field Value
Declaration
public readonly float scale
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly float? width
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Methods
createRenderObject(BuildContext)
Declaration
public override RenderObject createRenderObject(BuildContext context)
Parameters
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
updateRenderObject(BuildContext, RenderObject)
Declaration
public override void updateRenderObject(BuildContext context, RenderObject renderObject)
Parameters
Overrides