some whitespace cleanup (#14443)

This commit is contained in:
Alexandre Ardhuin
2018-02-02 23:27:29 +01:00
committed by GitHub
parent 688a571c71
commit c02b6a8bcf
158 changed files with 340 additions and 340 deletions

View File

@@ -267,7 +267,7 @@ class FrameData {
final List<SvgPath> paths;
@override
bool operator ==(Object other){
bool operator ==(Object other) {
if (runtimeType != other.runtimeType)
return false;
final FrameData typedOther = other;
@@ -464,7 +464,7 @@ const String _transformCommandAtom = ' *([^(]+)\\(([^)]*)\\)';
final RegExp _transformValidator = new RegExp('^($_transformCommandAtom)*\$');
final RegExp _transformCommand = new RegExp(_transformCommandAtom);
Matrix3 _parseSvgTransform(String transform){
Matrix3 _parseSvgTransform(String transform) {
if (!_transformValidator.hasMatch(transform))
throw new Exception('illegal or unsupported transform: $transform');
final Iterable<Match> matches =_transformCommand.allMatches(transform).toList().reversed;