string static method
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,
Implementation
static 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,
}) =>
svgFromString(
bytes,
alignment: alignment,
allowDrawingOutsideViewBox: allowDrawingOutsideViewBox,
clipBehavior: clipBehavior,
colorFilter: colorFilter,
excludeFromSemantics: excludeFromSemantics,
fit: fit,
height: height,
key: key,
matchTextDirection: matchTextDirection,
placeholderBuilder: placeholderBuilder,
semanticsLabel: semanticsLabel,
theme: theme,
width: width,
);