You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Future<String> fetchUserOrder() =>// Imagine that this function is more complex and slow.Future.delayed(constDuration(seconds:2), () =>'Large Latte');
Then indentation is lost, with everything being placed on the same line and appearing like two unrelated top-level declarations if you're scanning the file.
Future<String> fetchUserOrder() =>// Imagine that this function is more complex and slow.Future.delayed(constDuration(seconds:2), () =>'Large Latte');
The text was updated successfully, but these errors were encountered:
Language version: 3.7
SDK version:
3.7.0-323.2.beta
and3.8.0-70.0.dev
Page width: Default (80)
Comment before returned value of function with expression body causes indentation to be lost.
Is formatted to the following as expected:
But if I add a comment before the returned value:
Then indentation is lost, with everything being placed on the same line and appearing like two unrelated top-level declarations if you're scanning the file.
The text was updated successfully, but these errors were encountered: