Is there a way to call a Dart compiler just to verify the validity of my program without running it from the command line?
If I have a web_ui app I can call dwc, but what about a Dart library package?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can always run
dart_analyzer, it’s designed for this. It is actually (almost) the same code that powers the Dart Editor, so you can get syntax errors, static type warnings, deprecation warnings etc.