diff --git a/packages/flutter_svg/lib/svg.dart b/packages/flutter_svg/lib/svg.dart index 3ac7c6a7..a87d5180 100644 --- a/packages/flutter_svg/lib/svg.dart +++ b/packages/flutter_svg/lib/svg.dart @@ -501,17 +501,31 @@ class SvgPicture extends StatelessWidget { void debugFillProperties(DiagnosticPropertiesBuilder properties) { super.debugFillProperties(properties); - properties.add(StringProperty('bytesLoader', bytesLoader.toString(), showName: false)); + properties.add( + StringProperty('bytesLoader', bytesLoader.toString(), showName: false)); properties.add(DoubleProperty('width', width, defaultValue: null)); properties.add(DoubleProperty('height', height, defaultValue: null)); - properties.add(EnumProperty('alignment', alignment, defaultValue: Alignment.center)); - properties.add(DiagnosticsProperty('allowDrawingOutsideViewBox', allowDrawingOutsideViewBox, defaultValue: false)); - properties.add(EnumProperty('clipBehavior', clipBehavior, defaultValue: BoxFit.contain)); - properties.add(StringProperty('colorFilter', colorFilter.toString(), defaultValue: null)); - properties.add(EnumProperty('fit', fit, defaultValue: BoxFit.contain)); - properties.add(DiagnosticsProperty('placeholderBuilder', placeholderBuilder, defaultValue: null)); - properties.add(DiagnosticsProperty('matchTextDirection', matchTextDirection, defaultValue: false)); - properties.add(DiagnosticsProperty('excludeFromSemantics', excludeFromSemantics, defaultValue: false)); - properties.add(StringProperty('semanticsLabel', semanticsLabel, defaultValue: null)); + properties.add(EnumProperty('alignment', alignment, + defaultValue: Alignment.center)); + properties.add(DiagnosticsProperty( + 'allowDrawingOutsideViewBox', allowDrawingOutsideViewBox, + defaultValue: false)); + properties.add(EnumProperty('clipBehavior', clipBehavior, + defaultValue: BoxFit.contain)); + properties.add(StringProperty('colorFilter', colorFilter.toString(), + defaultValue: null)); + properties + .add(EnumProperty('fit', fit, defaultValue: BoxFit.contain)); + properties.add(DiagnosticsProperty( + 'placeholderBuilder', placeholderBuilder, + defaultValue: null)); + properties.add(DiagnosticsProperty( + 'matchTextDirection', matchTextDirection, + defaultValue: false)); + properties.add(DiagnosticsProperty( + 'excludeFromSemantics', excludeFromSemantics, + defaultValue: false)); + properties.add( + StringProperty('semanticsLabel', semanticsLabel, defaultValue: null)); } }