CountryFlags class
Constructors
-
CountryFlags(String? countryFlagName, {Key? key, double? width = 150.0, double? height = 150.0, BoxFit fit = BoxFit.cover, AlignmentGeometry alignment = Alignment.center, bool matchTextDirection = false, bool allowDrawingOutsideViewBox = false, Widget placeholderBuilder(BuildContext)?, ColorFilter? colorFilter, String? semanticsLabel, bool excludeFromSemantics = false, Clip clipBehavior = Clip.hardEdge})
-
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
-
cacheColorFilter
→ bool
-
Whether to cache the picture with the
colorFilter
applied or not.
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
-
countryFlagName
→ String?
-
final
-
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
-
pictureProvider
→ PictureProvider
-
The
PictureProvider
used to resolve the SVG.
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