SVGNetwork class
- Inheritance
-
- Available extensions
Constructors
-
SVGNetwork(String url, {Key? key, double? size, double? height, double? width, bool matchTextDirection = false, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, WidgetBuilder? placeholderBuilder, String? semanticsLabel, bool excludeFromSemantics = false, Clip clipBehavior = Clip.hardEdge, bool cacheColorFilter = false, SvgTheme? theme, ColorFilter? colorFilter, BlendMode colorBlendMode = BlendMode.srcIn, Color? color, })
-
Properties
-
alignment
→ AlignmentGeometry
-
How to align the picture within its parent widget.
finalinherited
-
allowDrawingOutsideViewBox
→ bool
-
If true, will allow the SVG to be drawn outside of the clip boundary of its
viewBox.
finalinherited
-
bytesLoader
→ BytesLoader
-
The BytesLoader used to resolve the SVG.
finalinherited
-
clipBehavior
→ Clip
-
The content will be clipped (or not) according to this option.
finalinherited
-
colorFilter
→ ColorFilter?
-
The color filter, if any, to apply to this widget.
finalinherited
-
excludeFromSemantics
→ bool
-
Whether to exclude this picture from semantics.
finalinherited
-
fit
→ BoxFit
-
How to inscribe the picture into the space allocated during layout.
The default is BoxFit.contain.
finalinherited
-
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.
finalinherited
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
matchTextDirection
→ bool
-
If true, will horizontally flip the picture in TextDirection.rtl contexts.
finalinherited
-
placeholderBuilder
→ WidgetBuilder?
-
The placeholder to use while fetching, decoding, and parsing the SVG data.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
semanticsLabel
→ String?
-
The
Semantics.label
for this picture.
finalinherited
-
width
→ double?
-
If specified, the width to use for the SVG. If unspecified, the SVG
will take the width of its parent.
finalinherited