Skip to content

Commit 0339f79

Browse files
committed
dart format
1 parent f6b911d commit 0339f79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/code_field/code_field.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class _CodeFieldState extends State<CodeField> {
266266
disableSpellCheckIfWeb();
267267

268268
WidgetsBinding.instance.addPostFrameCallback((_) {
269-
if(!mounted){
269+
if (!mounted) {
270270
return;
271271
}
272272
final double width = _codeFieldKey.currentContext!.size!.width;
@@ -320,7 +320,7 @@ class _CodeFieldState extends State<CodeField> {
320320
void rebuild() {
321321
setState(() {
322322
WidgetsBinding.instance.addPostFrameCallback((_) {
323-
if(!mounted){
323+
if (!mounted) {
324324
return;
325325
}
326326
// For some reason _codeFieldKey.currentContext is null in tests

0 commit comments

Comments
 (0)