Code Monkey home page Code Monkey logo

flutter_template's Introduction

Flutter Template

Flutterアプリを作るときに使えるテンプレートリポジトリです。

使ってるライブラリ等

状態管理

riverpod

遷移

go_router

フレーバー対応

FlutterでDart-defineのみを使って開発環境と本番環境を分ける

Flutterバージョン管理

settings.jsonにasdf前提の設定があります。

使い方

  1. 「Use this template」ボタンを押してこのこのリポジトリを複製します。
  2. (オプション)Grinderを設定します。
    1. grinderでよく使うコマンドを実行できるようになっています。
    2. 導入方法
  3. エディタでアプリID等を置換します。
    1. 「com.k9i.flutterTemplate」で検索して、iOSのbundle identifierを置換します。
    2. 「com.k9i.flutter_template」で検索して、Androidのpackage名を置換します。
      1. Androidのpackage名
    3. 「flutter_template」を検索して、パッケージ名置換します。
    4. 「Flutter Template」を検索して、アプリ名を置換します。
  4. アプリアイコンを置き換えます。
    1. assets/app_iconsディレクトリにあるapp_icon_{Flavor}.pngとapp_icon_background_{Flavor}.pngを使いたい画像に置き換えます。
    2. dev、stg、prodの3つのFlavorに対応しています。この記事。の方法を使っています
    3. grind gen-iconsでアイコンを生成します。
  5. スプラッシュ画面を置き換えます。
    1. assets/imagesディレクトリにあるsplash_icon.pngを使いたい画像に置き換えます。
    2. grind gen-splashでスプラッシュ画像を生成します。

flutter_template's People

Contributors

k9i-0 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.