Skip to content

Commit

Permalink
Fixed links and format; added two pages
Browse files Browse the repository at this point in the history
  • Loading branch information
atsansone committed Mar 6, 2024
1 parent 4b65189 commit 02f000f
Show file tree
Hide file tree
Showing 25 changed files with 230 additions and 55 deletions.
2 changes: 2 additions & 0 deletions src/_data/sidenav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@
- title: Android
permalink: /platform-integration/android
children:
- title: Add Android as build target
permalink: /platform-integration/android/install-android
- title: Add a splash screen
permalink: /platform-integration/android/splash-screen
- title: Bind to native code
Expand Down
2 changes: 1 addition & 1 deletion src/get-started/install/windows/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ js: [{url: '/assets/js/temp/windows-install-redirector.js'}]
{% assign os = 'windows' -%}
{% assign recommend = 'Android' %}
{% capture rec-target -%}
[{{recommend}}](/get-started/install/{{os | downcase}}/{{recommend | downcase}})
[{{recommend}}](/get-started/install/{{os | downcase}}/mobile)
{%- endcapture %}

<div class="card-deck mb-8">
Expand Down
25 changes: 17 additions & 8 deletions src/platform-integration/android/install-android/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,46 @@
title: Add Android devtools for Flutter
description: Configure your system to develop Flutter for Android.
short-title: Add Android to possible Flutter SDK targets
target-list: [macOS, Windows, iOS, Web]
target-list: [macOS, Windows, iOS, 'Web on macOS', 'Web on Windows']
---

To choose the guide to add Android Studio to your Flutter configuration,
click the [Getting Started path][] you followed.

<div class="card-deck mb-8">
{% for target in page.target-list %}
{% assign targetlink='/platform-integration/android/install-android/install-android-from-' | append: target | downcase %}
{% assign targetlink='/platform-integration/android/install-android/install-android-from-' | append: target | downcase | replace: " ", "-" %}
<a class="card card-app-type"
id="install-{{target | downcase}}"
href="{{targetlink}}">
<div class="card-body">
<header class="card-title text-center m-0">
<span class="d-block h1">
{% assign icon = target | downcase -%}
{% assign icon = target | downcase | replace: " ", "-" -%}
{% case icon %}
{% when 'macos' -%}
<span class="material-symbols">laptop_mac</span>
{% when 'windows' -%}
<span class="material-symbols">desktop_windows</span>
{% when 'ios' -%}
<span class="material-symbols">phone_iphone</span>
{% when 'web' -%}
{% when 'web-on-macos' -%}
<span class="material-symbols">laptop_mac</span><br>
<span class="material-symbols">add</span><br>
<span class="material-symbols">open_in_browser</span>
{% when 'web-on-windows' -%}
<span class="material-symbols">desktop_windows</span><br>
<span class="material-symbols">add</span><br>
<span class="material-symbols">open_in_browser</span>
{% endcase -%}
{% endcase %}
</span>
<span class="text-muted text-nowrap">
<span class="text-muted">
{{ target }}
</span>
</header>
</div>
</a>
{% endfor %}
</div>
</div>

{% include docs/china-notice.md %}
[Getting Started path]: /get-started/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: Add Android devtools for Flutter from iOS start
description: Configure your Mac to develop Flutter mobile apps for Android.
short-title: When you started with iOS
---

To add Android as a Flutter app target for iOS, follow this procedure.

## Install Android Studio

1. Allocate a minimum of 7.5 GB of storage for Android Studio.
Consider allocating 10 GB of storage for an optimal configuration.
1. Install [Android Studio][] {{site.appmin.android_studio}} to debug and compile
Java or Kotlin code for Android.
Flutter requires the full version of Android Studio.

{% include docs/install/compiler/android.md
target='macos'
devos='macOS'
time="first" -%}

{% include docs/install/flutter-doctor.md
target='Android'
devos='macOS'
config='macOSDesktopAndroid' %}

[Android Studio]: https://developer.android.com/studio/install#mac
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ description: Configure your Mac to develop Flutter mobile apps for Android.
short-title: When you started with macOS
---

To add Android as a Flutter app target for macOS:
To add Android as a Flutter app target for macOS, follow this procedure.

## Install Android Studio

1. Allocate a minimum of 7.5 GB of storage for Android Studio.
Consider allocating 10 GB of storage for an optimal configuration.
1. Follow this procedure.
1. Install [Android Studio][] {{site.appmin.android_studio}} to debug and compile
Java or Kotlin code for Android.
Flutter requires the full version of Android Studio.

{% include docs/install/compiler/android.md
target='macos'
Expand All @@ -18,4 +22,6 @@ To add Android as a Flutter app target for macOS:
{% include docs/install/flutter-doctor.md
target='Android'
devos='macOS'
config='macOSDesktopAndroid' -%}
config='macOSDesktopAndroid' %}

[Android Studio]: https://developer.android.com/studio/install#mac
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: Add Android devtools for Flutter from Web on macOS start
description: Configure your Mac to develop Flutter mobile apps for Android.
short-title: When you started with Web on macOS
---

To add Android as a Flutter app target for macOS, follow this procedure.

## Install Android Studio

1. Allocate a minimum of 7.5 GB of storage for Android Studio.
Consider allocating 10 GB of storage for an optimal configuration.
1. Install [Android Studio][] {{site.appmin.android_studio}} to debug and compile
Java or Kotlin code for Android.
Flutter requires the full version of Android Studio.

{% include docs/install/compiler/android.md
target='macos'
devos='macOS'
time="first" -%}

{% include docs/install/flutter-doctor.md
target='Android'
devos='macOS'
config='macOSAndroidWeb' %}

[Android Studio]: https://developer.android.com/studio/install#mac
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: Add Android devtools for Flutter from Web on Windows start
description: Configure your Windows system to develop Flutter mobile apps for Android.
short-title: When you started with Web on Windows
---

To add Android as a Flutter app target for Windows, follow this procedure.

## Install Android Studio

1. Allocate a minimum of 7.5 GB of storage for Android Studio.
Consider allocating 10 GB of storage for an optimal configuration.
1. Install [Android Studio][] {{site.appmin.android_studio}} to debug and compile
Java or Kotlin code for Android.
Flutter requires the full version of Android Studio.

{% include docs/install/compiler/android.md
target='desktop'
devos='windows'
time="first" -%}

{% include docs/install/flutter-doctor.md
target='Android'
devos='Windows'
config='WindowsAndroidWeb' %}

[Android Studio]: https://developer.android.com/studio/install#win
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ description: Configure your Windows system to develop Flutter mobile apps for An
short-title: When you started with Windows
---

To add Android as a Flutter app target for Windows:
To add Android as a Flutter app target for Windows, follow this procedure.

## Install Android Studio

1. Allocate a minimum of 7.5 GB of storage for Android Studio.
Consider allocating 10 GB of storage for an optimal configuration.
1. Follow this procedure.
1. Install [Android Studio][] {{site.appmin.android_studio}} to debug and compile
Java or Kotlin code for Android.
Flutter requires the full version of Android Studio.

{% include docs/install/compiler/android.md
target='desktop'
Expand All @@ -19,4 +23,6 @@ To add Android as a Flutter app target for Windows:
target='Android'
devos='Windows'
compiler='Android Studio'
config='WindowsDesktopAndroid' -%}
config='WindowsDesktopAndroid' %}

[Android Studio]: https://developer.android.com/studio/install#win
5 changes: 4 additions & 1 deletion src/platform-integration/ios/install-ios/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ short-title: Add iOS to possible Flutter SDK targets
target-list: [macOS, Android, Web]
---

To choose the guide to add iOS devtools to your Flutter configuration,
click the [Getting Started path][] you followed.

<div class="card-deck mb-8">
{% for target in page.target-list %}
{% assign targetlink='/platform-integration/ios/install-ios/install-ios-from-' | append: target | downcase %}
Expand Down Expand Up @@ -33,4 +36,4 @@ target-list: [macOS, Android, Web]
{% endfor %}
</div>

{% include docs/china-notice.md %}
[Getting Started path]: /get-started/install
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ description: Configure your system to develop Flutter mobile apps also on iOS.
short-title: When you started with Android
---

To add iOS as a Flutter app target for macOS:
To add iOS as a Flutter app target for macOS, follow this procedure.

## Install Xcode

1. Allocate a minimum of 26 GB of storage for Xcode.
Consider allocating 42 GB of storage for an optimal configuration.
1. Follow this procedure.
1. Install [Xcode][] {{site.appnow.xcode}} to debug and compile native
Swift or ObjectiveC code.

{% include docs/install/compiler/xcode.md
target='iOS'
Expand All @@ -18,4 +21,6 @@ To add iOS as a Flutter app target for macOS:
{% include docs/install/flutter-doctor.md
target='iOS'
devos='macOS'
config='macOSAndroidiOS' -%}
config='macOSAndroidiOS' %}

[Xcode]: {{site.apple-dev}}/xcode/
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ short-title: When you started with macOS

To add iOS as a Flutter app target for macOS, follow this procedure.

This procedure presumes you installed [Xcode][] {{site.appnow.xcode}}
when your Flutter getting started path began with macOS.

{% include docs/install/compiler/xcode.md
target='iOS'
devos='macOS'
Expand All @@ -14,4 +17,6 @@ To add iOS as a Flutter app target for macOS, follow this procedure.
{% include docs/install/flutter-doctor.md
target='iOS'
devos='macOS'
config='macOSDesktopiOS' -%}
config='macOSDesktopiOS' %}

[Xcode]: {{site.apple-dev}}/xcode/
11 changes: 8 additions & 3 deletions src/platform-integration/ios/install-ios/install-ios-from-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ description: Configure your system to develop Flutter mobile apps on iOS.
short-title: When you started with web
---

To add iOS as a Flutter app target for macOS:
To add iOS as a Flutter app target for macOS, follow this procedure.

## Install Xcode

1. Allocate a minimum of 26 GB of storage for Xcode.
Consider allocating 42 GB of storage for an optimal configuration.
1. Follow this procedure.
1. Install [Xcode][] {{site.appnow.xcode}} to debug and compile native
Swift or ObjectiveC code.

{% include docs/install/compiler/xcode.md
target='iOS'
Expand All @@ -18,4 +21,6 @@ To add iOS as a Flutter app target for macOS:
{% include docs/install/flutter-doctor.md
target='iOS'
devos='macOS'
config='macOSWebiOS' -%}
config='macOSWebiOS' %}

[Xcode]: {{site.apple-dev}}/xcode/
5 changes: 4 additions & 1 deletion src/platform-integration/macos/install-macos/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ short-title: Add macOS to possible Flutter SDK targets
target-list: [iOS, Android, Web]
---

To choose the guide to add macOS devtools to your Flutter configuration,
click the [Getting Started path][] you followed.

<div class="card-deck mb-8">
{% for target in page.target-list %}
{% assign targetlink='/platform-integration/macos/install-macos/install-macos-from-' | append: target | downcase %}
Expand Down Expand Up @@ -33,4 +36,4 @@ target-list: [iOS, Android, Web]
{% endfor %}
</div>

{% include docs/china-notice.md %}
[Getting Started path]: /get-started/install
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ description: Configure your system to develop Flutter mobile apps also on macOS.
short-title: When you started with Android
---

To add macOS desktop as a Flutter app target for macOS:
To add macOS desktop as a Flutter app target, follow this procedure.

## Install Xcode

1. Allocate a minimum of 26 GB of storage for Xcode.
Consider allocating 10 GB of storage for an optimal configuration.
1. Follow this procedure.
Consider allocating 42 GB of storage for an optimal configuration.
1. Install [Xcode][] {{site.appnow.xcode}} to debug and compile native
Swift or ObjectiveC code.

{% include docs/install/compiler/xcode.md
target='macOS'
Expand All @@ -18,4 +21,6 @@ To add macOS desktop as a Flutter app target for macOS:
{% include docs/install/flutter-doctor.md
target='macOS'
devos='macOS'
config='macOSDesktopAndroid' -%}
config='macOSDesktopAndroid' %}

[Xcode]: {{site.apple-dev}}/xcode/
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ description: Configure your system to develop Flutter mobile apps on macOS.
short-title: When you started with web
---

To add macOS desktop as a Flutter app target for macOS, follow this procedure.
To add macOS desktop as a Flutter app target, follow this procedure.

This procedure presumes you installed [Xcode][] {{site.appnow.xcode}}
when your Flutter getting started path began with iOS.

{% include docs/install/compiler/xcode.md
target='macOS'
Expand All @@ -14,4 +17,6 @@ To add macOS desktop as a Flutter app target for macOS, follow this procedure.
{% include docs/install/flutter-doctor.md
target='macOS'
devos='macOS'
config='macOSDesktopiOS' -%}
config='macOSDesktopiOS' %}

[Xcode]: {{site.apple-dev}}/xcode/
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ description: Configure your system to develop Flutter mobile apps on macOS.
short-title: When you started with web
---

To add macOS as a Flutter app target for macOS:
To add macOS as a Flutter app target for macOS, follow this procedure.

## Install Xcode

1. Allocate a minimum of 26 GB of storage for Xcode.
Consider allocating 42 GB of storage for an optimal configuration.
1. Follow this procedure.
1. Install [Xcode][] {{site.appnow.xcode}} to debug and compile native
Swift or ObjectiveC code.

{% include docs/install/compiler/xcode.md
target='macOS'
Expand All @@ -18,4 +21,6 @@ To add macOS as a Flutter app target for macOS:
{% include docs/install/flutter-doctor.md
target='macOS'
devos='macOS'
config='macOSDesktopWeb' -%}
config='macOSDesktopWeb' %}

[Xcode]: {{site.apple-dev}}/xcode/
Loading

0 comments on commit 02f000f

Please sign in to comment.