Remove unnecessary breaks in default clauses of switch statements (flutter/engine#54669)

See https://dart.googlesource.com/sdk.git/+/045d26bc74209f5acc6466669f89686344e83de2
This commit is contained in:
Jason Simmons 2024-08-20 21:31:26 -07:00 committed by GitHub
parent bc6d7fa164
commit 164eb442db
3 changed files with 0 additions and 3 deletions

View File

@ -1104,7 +1104,6 @@ class BrowserManager {
default:
// Unreachable.
assert(false);
break;
}
}

View File

@ -823,7 +823,6 @@ class BitmapCanvas extends EngineCanvas {
..backgroundBlendMode =
blendModeToCssMixBlendMode(colorFilterBlendMode) ?? ''
..backgroundColor = filterColor!.toCssString();
break;
}
return imgElement;
}

View File

@ -77,7 +77,6 @@ class TextCapitalizationConfig {
case TextCapitalization.none:
default:
autocapitalize = 'off';
break;
}
if (domInstanceOfString(domElement, 'HTMLInputElement')) {
final DomHTMLInputElement element = domElement as DomHTMLInputElement;