captureSvg method
Implementation
Future<SvgResult> captureSvg(
Widget widget, {
required Size size,
CaptureOptions? options,
}) async {
var result = await captureWidgetSvg(
widget,
size: size,
fonts: fonts,
options: options ?? this.options,
);
warnings.addAll(result.warnings);
return result;
}