Just select the lines you want to make comment with your mouse, then press the following key combination:
Read moreHow do you comment a dart code?
Single-line Comment We can apply comments on a single line by using the // (double-slash) . The single-line comments can be applied until a line break. The // (double-slash) statement is completely ignored by the Dart compiler and retuned the output.
Read moreHow do you comment out multiple lines in darts?
Dart Multi-Line Comment: Dart Multiline comment is used to comment out a whole section of code. It uses ‘/*’ and ‘*/’ to start and end a multi-line comment respectively .
Read moreHow do you write documents in flutter?
Flutter Dart Documentation
Read moreHow do you create a new file in flutter?
Using the new package
Read more