SvgGenImage class
- Available extensions
Constructors
-
SvgGenImage(String _assetName, {Size? size, Set<
String> flavors = const {}}) -
const
-
SvgGenImage.vec(String _assetName, {Size? size, Set<
String> flavors = const {}}) -
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
svg(
{Key? key, bool matchTextDirection = false, AssetBundle? bundle, String? package, double? width, double? height, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, WidgetBuilder? placeholderBuilder, String? semanticsLabel, bool excludeFromSemantics = false, SvgTheme? theme, ColorFilter? colorFilter, Clip clipBehavior = Clip.hardEdge, Color? color, BlendMode colorBlendMode = BlendMode.srcIn, bool cacheColorFilter = false}) → SvgPicture -
themed(
BuildContext context, {Key? key, bool matchTextDirection = false, AssetBundle? bundle, String? package, double? width, double? height, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, WidgetBuilder? placeholderBuilder, String? semanticsLabel, bool excludeFromSemantics = false, SvgTheme? theme, ColorFilter? colorFilter, Clip clipBehavior = Clip.hardEdge}) → SvgPicture -
Available on SvgGenImage, provided by the SvgUtils extension
Creates a themed SVG image based on the currentcontext
. Please refer to the table below for the color substitutions: -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited