@@ -496,4 +496,22 @@ class SvgPicture extends StatelessWidget {
496496 matchTextDirection: matchTextDirection,
497497 );
498498 }
499+
500+ @override
501+ void debugFillProperties (DiagnosticPropertiesBuilder properties) {
502+ super .debugFillProperties (properties);
503+
504+ properties.add (StringProperty ('bytesLoader' , bytesLoader.toString (), showName: false ));
505+ properties.add (DoubleProperty ('width' , width, defaultValue: null ));
506+ properties.add (DoubleProperty ('height' , height, defaultValue: null ));
507+ properties.add (EnumProperty <AlignmentGeometry >('alignment' , alignment, defaultValue: Alignment .center));
508+ properties.add (DiagnosticsProperty <bool >('allowDrawingOutsideViewBox' , allowDrawingOutsideViewBox, defaultValue: false ));
509+ properties.add (EnumProperty <Clip >('clipBehavior' , clipBehavior, defaultValue: BoxFit .contain));
510+ properties.add (StringProperty ('colorFilter' , colorFilter.toString (), defaultValue: null ));
511+ properties.add (EnumProperty <BoxFit >('fit' , fit, defaultValue: BoxFit .contain));
512+ properties.add (DiagnosticsProperty <Function >('placeholderBuilder' , placeholderBuilder, defaultValue: null ));
513+ properties.add (DiagnosticsProperty <bool >('matchTextDirection' , matchTextDirection, defaultValue: false ));
514+ properties.add (DiagnosticsProperty <bool >('excludeFromSemantics' , excludeFromSemantics, defaultValue: false ));
515+ properties.add (StringProperty ('semanticsLabel' , semanticsLabel, defaultValue: null ));
516+ }
499517}
0 commit comments