5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Flutter】「Flutter for Web」を試してみた。

Last updated at Posted at 2019-11-10

開発環境
⭐️Flutter
(flutter_macos_v1.9.1+hotfix.5-stable)

⭐️Android Studio 3.5.1
⭐️Xcode11.2 beata

「Flutter for Web」のサンプルをローカルにて、起動してみた。
↓↓↓完成内容
スクリーンショット 2019-11-02 18.29.16.png

スクリーンショット 2019-11-02 18.30.25.png

では、始めます。
1.「Flutter for Web」のGitHubリポジトリにアクセスし、URLをコピーする
https://github.com/flutter/flutter_web

スクリーンショット 2019-11-02 18.16.30.png

2.Cloneする。(私はSource Treeを使っています)
スクリーンショット 2019-11-02 18.17.30.png

3.サンプルのうち、「gallery」のサンプルを試します。

スクリーンショット 2019-11-02 18.20.45.png

4.Android Studioを起動し、Openを選ぶ。
スクリーンショット 2019-11-02 18.21.46.png

5.「gallery」を選ぶ
スクリーンショット 2019-11-02 18.23.06.png

6.PackageをUpgradeする
スクリーンショット 2019-11-02 18.25.00.png

スクリーンショット 2019-11-02 18.25.58.png

7.Upgrade 完了
スクリーンショット 2019-11-02 18.26.47.png

8.では、実行してみます
スクリーンショット 2019-11-02 18.27.39.png

9.起動成功
スクリーンショット 2019-11-02 18.29.08.png

スクリーンショット 2019-11-02 18.29.16.png

他にも、GitHubにサンプルがあります。
https://flutter.github.io/samples/
スクリーンショット 2019-11-10 23.08.29.png

スマホでも動かしてみれます。
https://flutter.github.io/samples/
スクリーンショット 2019-11-11 0.02.48.png
86269CF7-880D-4429-A986-3AE0D1965FAA.png

では、試しに、Galleryをみてみる
スクリーンショット 2019-11-10 23.09.52.png

パソコンでアクセスしてみた
https://flutter.github.io/samples/gallery/#/
スクリーンショット 2019-11-10 23.11.32.png

「Material」-「Bottom navigation」
スクリーンショット 2019-11-10 23.18.53.png

スマホでもアクセスして、サンプルを動かしてみる事ができる
https://flutter.github.io/samples/gallery/#/
スクリーンショット 2019-11-10 23.12.39.png

スクリーンショット 2019-11-10 23.59.52.png
5
5
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?