Skip to content

tigued/flutter_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my_app

A new Flutter project.

これはflutterのサンプルコードのレポジトリです。github Publicでできることが限られているため公開しているだけで、内容はプライベートなものなので誰かに参考にしてもらうことは想定しておりません。

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

環境について

  • gitignoreで色々消しているのでcloneしてもおそらく動かない

  • osはmacOS。flutterの環境構築はこちらを参考

  • ターミナル上で同様のプロジェクト作成するには以下の通り(gitからcloneした場合は不要)

  1. flutter doctorを実行し、少なくともiosかandoroidのどちらかのシミュレータが動く環境になっているか確認(これを作成したとき(2022/1/3)時点ではとりあえずiOSだけ動くようにした)

  2. open -a Simulatorでシミュレータが動くことを確認

  3. flutter create アプリ名でプロジェクトを作成

  4. lib/main.dartをVScodeかandoroid Studio上で実行し、動くことを確認(flutter runでも良い)

  5. shared_preferencesを第6回くらいで使うので、flutter pub add shared_preferencesを実行

About

flutterによるアプリのサンプルです

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages