svg static method

_StoryPainterViewSvg svg(
  1. {Key? key,
  2. required String data,
  3. Color? color,
  4. double strokeWidth(
    1. double? width
    )?,
  5. EdgeInsets? padding,
  6. Widget? placeholder}
)

Implementation

static _StoryPainterViewSvg svg({
  Key? key,
  required String data,
  Color? color,
  double Function(double? width)? strokeWidth,
  EdgeInsets? padding,
  Widget? placeholder,
}) =>
    _StoryPainterViewSvg(
      key: key,
      data: data,
      color: color,
      strokeWidth: strokeWidth,
      padding: padding,
      placeholder: placeholder,
    );