UnDraw class
Constructors
-
UnDraw({Key? key, required UnDrawIllustration illustration, required Color color, String? semanticLabel, AlignmentGeometry alignment = Alignment.center, BoxFit fit = BoxFit.contain, BlendMode colorBlendMode = BlendMode.srcIn, double? height, double? width, Widget? placeholder, Widget? errorWidget, EdgeInsets? padding, bool useMemCache = true})
-
Properties
-
alignment
→ AlignmentGeometry
-
How to align the picture within its parent widget.
final
-
color
→ Color
-
The color that will replaced for illustration
final
-
colorBlendMode
→ BlendMode
-
The
color
and colorBlendMode
arguments, if specified, will be used to set a
ColorFilter on any Paints created for this drawing.
final
-
errorWidget
→ Widget?
-
The widget that will appear if occurs an error
final
-
fit
→ BoxFit
-
How to inscribe the picture into the space allocated during layout.
The default is BoxFit.contain.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
height
→ double?
-
If specified, the height to use for the SVG. If unspecified, the SVG
will take the height of its parent.
final
-
illustration
→ UnDrawIllustration
-
Enum UnDrawIllustration with all supported illustrations
final
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
padding
→ EdgeInsets?
-
Empty space to inscribe inside the
decoration
. The child
, if any, is
placed inside this padding.
final
-
placeholder
→ Widget?
-
The widget that will appear during loading illustration from the internet
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
semanticLabel
→ String?
-
The
Semantics.label
for this picture.
final
-
useMemCache
→ bool
-
If cache image in memory, if enable reload the same illustration is be more fast
final
-
width
→ double?
-
If specified, the width to use for the SVG. If unspecified, the SVG
will take the width of its parent.
final