You can run the command for manual formatting in terminal. But this is not the solution to the problem.
dart format .