SvgUtils extension

Utility class for theming SVG images.

on

Methods

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 current context. Please refer to the table below for the color substitutions: