Svg mixin
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
svg(String assetPath, {Key? key, bool matchTextDirection = false, AssetBundle? bundle, String? package, double? width, double? height, BoxFit fit = BoxFit.contain, Alignment alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, Widget placeholderBuilder(BuildContext)?, String? semanticsLabel, bool excludeFromSemantics = false, Clip clipBehavior = Clip.hardEdge, SvgTheme theme = const SvgTheme(), ColorFilter? colorFilter})
→ SvgPicture
-
引数のアセットパスと幅/高さのサイズ指定を元に
SvgPicture(flutter_svg)形式で返す
例:
svg(
'assets/images/svg.svg',
width: 128,
height: 128,
)
-
toString()
→ String
-
A string representation of this object.
inherited