Skip to content

Commit

Permalink
Update for latest edits
Browse files Browse the repository at this point in the history
  • Loading branch information
atsansone committed Oct 24, 2023
1 parent 372d356 commit b47c0f4
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 16 deletions.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ appmin:
github_win: 2.4
vscode: 1.75
android_studio: '2022.3 (Giraffe) or later'
intellij_idea: '2022.3 or later'
android_sdk: 19
powershell: 5.0
devmin:
Expand Down Expand Up @@ -216,6 +217,9 @@ alert:
version-note: >-
<aside class="alert alert-info" role="alert" markdown="1">
<i class="material-icons" aria-hidden="true">merge_type</i> **Version note:**
recommend: >-
<aside class="alert alert-success alert-icon" role="alert" markdown="1">
<i class="material-icons" aria-hidden="true">bolt</i>
secondary: >-
<aside class="alert alert-secondary" role="alert" markdown="1">
tip: >-
Expand Down
10 changes: 4 additions & 6 deletions src/_data/sidenav.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
- title: Get started
children:
- title: 1. Install
- title: Install Flutter
permalink: /get-started/install
- title: 2. Set up an editor
permalink: /get-started/editor
- title: 3. Test drive
- title: Test drive
permalink: /get-started/test-drive
- title: 4. Write your first app
- title: Write your first app
permalink: /get-started/codelab
- title: 5. Learn more
- title: Learn more
permalink: /get-started/learn-more
- divider
- title: From another platform?
Expand Down
33 changes: 29 additions & 4 deletions src/_includes/docs/install/reqs/windows/base.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,42 @@ These versions of Windows should include the required

Download and install the Windows version of the following packages:

- [Git for Windows][] {{site.appmin.github_win}} or later to manage source code.
- [Visual Studio Code][] {{site.appmin.vscode}} or later to write code.
* [Git for Windows][] {{site.appmin.github_win}} or later to manage source code.
{% include docs/install/reqs/windows/software.md target=include.target %}

The developers of the preceding software provide support for those products.
To troubleshoot installation issues, consult that product's documentation.

To edit and debug Flutter code, install the [Flutter extension for VS Code][].
This extension simplifies installing the Flutter SDK using Visual Studio Code.
#### Text editor or integrated development environment
{:.no_toc}

You can build apps with Flutter using any text editor or
integrated development environment (IDE) combined with
Flutter’s command-line tools.

Using an IDE with a Flutter extension or plugin provides code completion,
syntax highlighting, widget editing assists, debugging, and other features.

Popular options include:

* [Android Studio][] {{site.appmin.android_studio}} or later
with the [Flutter plugin for IntelliJ][].
* [IntelliJ IDEA][] {{site.appmin.intellij_idea}} or later
with the [Flutter plugin for IntelliJ][].
* [Visual Studio Code][] {{site.appmin.vscode}} or later
with the [Flutter extension for VS Code][].

{{site.alert.recommend}}
The Flutter team recommends installing
[Visual Studio Code][] {{site.appmin.vscode}} or later and the
[Flutter extension for VS Code][].
This combination simplifies installing the Flutter SDK.
{{site.alert.end}}

[Android Studio]: https://developer.android.com/studio/install
[IntelliJ IDEA]: https://www.jetbrains.com/help/idea/installation-guide.html
[Visual Studio Code]: https://code.visualstudio.com/docs/setup/windows
[Flutter extension for VS Code]: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[Flutter plugin for IntelliJ]: https://plugins.jetbrains.com/plugin/9212-flutter
[Windows PowerShell]: https://docs.microsoft.com/powershell/scripting/install/installing-windows-powershell
[Git for Windows]: https://gitforwindows.org/
12 changes: 6 additions & 6 deletions src/_includes/docs/install/reqs/windows/software.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{% if include.target == 'desktop' -%}

- [Visual Studio 2022][] to debug and compile native C++ Windows code.
* [Visual Studio 2022][] to debug and compile native C++ Windows code.
Make sure to install the **Desktop development with C++** workload.
This enables building Windows app including all of its default components.
**Visual Studio** is an IDE separate from **[Visual Studio _Code_][]**.

{% elsif include.target == 'mobile' -%}

- [Android Studio][] {{site.appmin.android_studio}} to debug and compile
* [Android Studio][] {{site.appmin.android_studio}} to debug and compile
Java or Kotlin code for Android.
Flutter requires the full version of Android Studio.

{% elsif include.target == 'web' -%}

- [Google Chrome][] to debug JavaScript code for web apps.
* [Google Chrome][] to debug JavaScript code for web apps.

{% else -%}

- [Visual Studio 2022][] to debug and compile native C++ Windows code.
* [Visual Studio 2022][] to debug and compile native C++ Windows code.
Make sure to install the **Desktop development with C++** workload.
This enables building Windows app including all of its default components.
**Visual Studio** is an IDE separate from **[Visual Studio _Code_][]**.
- [Android Studio][] {{site.appmin.android_studio}} to debug and compile
* [Android Studio][] {{site.appmin.android_studio}} to debug and compile
Java or Kotlin code for Android.
Flutter requires the full version of Android Studio.
- The latest version of [Google Chrome][] to debug JavaScript code for web apps.
* The latest version of [Google Chrome][] to debug JavaScript code for web apps.

{% endif -%}

Expand Down
7 changes: 7 additions & 0 deletions src/_sass/components/_admonitions.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@use '../base/variables' as *;
@use '../vendor/bootstrap';

aside.alert-icon > p {
padding-left: 1.25rem;
text-indent: -0.75rem;
}
1 change: 1 addition & 0 deletions src/_sass/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

// -- Components
// (alpha ordered)
@use 'components/admonitions';
@use 'components/animations';
@use 'components/banner';
@use 'components/books';
Expand Down

0 comments on commit b47c0f4

Please sign in to comment.