WebsafeSvg class

Constructors

WebsafeSvg()

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

asset(String asset, {Alignment alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, Clip clipBehavior = Clip.hardEdge, ColorFilter? colorFilter, bool excludeFromSemantics = false, BoxFit fit = BoxFit.contain, double? height, Key? key, bool matchTextDirection = false, String? package, WidgetBuilder? placeholderBuilder, String? semanticsLabel, SvgTheme theme = const SvgTheme(), double? width}) Widget
memory(Uint8List bytes, {Alignment alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, Clip clipBehavior = Clip.hardEdge, ColorFilter? colorFilter, bool excludeFromSemantics = false, BoxFit fit = BoxFit.contain, double? height, Key? key, bool matchTextDirection = false, WidgetBuilder? placeholderBuilder, String? semanticsLabel, SvgTheme theme = const SvgTheme(), double? width}) Widget
network(String url, {Alignment alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, Clip clipBehavior = Clip.hardEdge, ColorFilter? colorFilter, bool excludeFromSemantics = false, BoxFit fit = BoxFit.contain, Map<String, String>? headers, double? height, Key? key, bool matchTextDirection = false, WidgetBuilder? placeholderBuilder, String? semanticsLabel, SvgTheme theme = const SvgTheme(), double? width}) Widget
string(String bytes, {Alignment alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, Clip clipBehavior = Clip.hardEdge, ColorFilter? colorFilter, bool excludeFromSemantics = false, BoxFit fit = BoxFit.contain, double? height, Key? key, bool matchTextDirection = false, WidgetBuilder? placeholderBuilder, String? semanticsLabel, SvgTheme theme = const SvgTheme(), double? width}) Widget