dart-lang / site-www

Source for Dart website
https://dart.dev
Other
935 stars 675 forks source link

Indicate Flutter users do not need to install Dart separately #5938

Closed abitofevrything closed 1 day ago

abitofevrything commented 2 days ago

Page URL

https://dart.dev/get-dart

Page source

No response

Describe the problem

Flutter users often expect Flutter to require Dart to be installed separately, as they understand that Dart, the language, is separate from Flutter, the framework. However Flutter bundles its own Dart installation, which surprises users when they later see the warning about having a separate Dart installation in flutter doctor.

The installation page does mention that Flutter includes the Dart SDK, but only after the option for installing Dart via a package manager, which is what users on Linux systems often jump to, and therefore do not see the message.

Expected fix

A warning or information box at the start of the installation pages indicating Flutter users should not install Dart separately, or that they do not need to (sometimes a separate Dart installation is needed - e.g I have a separate Dart installation to get the latest features on Dart's dev branch before they come to Flutter).

Additional context

No response

I would like to fix this problem.