Skip to content

Commit

Permalink
Flutter for iOS — Page contents (squashed) (#993)
Browse files Browse the repository at this point in the history
* Add Flutter for iOS Developers page contents

* Use caret syntax for dependencies

* Improve i11y section to incorporate existing APIs

* Fix link in Flutter for iOS Developers

* Address all comments on flutter-for-ios

* Address all comments on flutter-for-android

* Fix link in flutter-for-ios.md

* Fix some messed up formatting in flutter-for-ios

* Add Q&A on platform channels and plugins

* Improve Firebase plugins section

* Improve Cupertino widgets intro wording

* Add form input intro Q&A

* Add JSON asset example

Also trim all trailing whitespaces in flutter-for-ios

* Rephrase views intro question for clarity

* Improve wording on Updating Widgets Q&A
  • Loading branch information
rock3r authored and mjohnsullivan committed May 21, 2018
1 parent 413e79b commit a064b8a
Show file tree
Hide file tree
Showing 4 changed files with 1,995 additions and 13 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Google Inc.
Faisal Abid <faisal.abid@gmail.com>
Iiro Krankka <iiro.krankka@gmail.com>
Ryuji Iwata <qt.luigi@gmail.com>
Novoda Ltd. — www.novoda.com (Niamh Power, Sebastiano Poggi)
1 change: 1 addition & 0 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<li><a href="/tutorials/interactive/">Add interactivity - Tutorial</a></li>
<li><a href="/web-analogs/">Flutter for Web devs</a></li>
<li><a href="/flutter-for-android/">Flutter for Android devs</a></li>
<li><a href="/flutter-for-ios/">Flutter for iOS devs</a></li>
<li><a href="/flutter-for-react-native/">Flutter for React Native devs</a></li>
<li><a href="/gestures/">Gestures</a></li>
<li><a href="/animations/">Animations</a></li>
Expand Down
5 changes: 2 additions & 3 deletions flutter-for-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,6 @@ JSON, or doing computationally intensive math such as crypto or signal processin

A full example that you can run is below.

<!-- skip -->
{% prettify dart %}
import 'dart:convert';

Expand Down Expand Up @@ -977,7 +976,7 @@ class _SampleAppPageState extends State<SampleAppPage> {
});
}

// the entry point for the isolate
// the entry point for the isolate
static dataLoader(SendPort sendPort) async {
// Open the ReceivePort for incoming messages.
ReceivePort port = new ReceivePort();
Expand Down Expand Up @@ -1018,7 +1017,7 @@ You can use it by adding it to your dependencies in `pubspec.yaml`:
{% prettify yaml %}
dependencies:
...
http: '>=0.11.3+16'
http: ^0.11.3+16
{% endprettify %}

Then to make a network call, you just `await` on the `async` function `http.get()`:
Expand Down
Loading

0 comments on commit a064b8a

Please sign in to comment.