パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリbrizaldi/flutter-project-template-riverpod

flutter-project-template-riverpod

Riverpod を使用した新しい Flutter プロジェクトのテンプレート。

flutter-project-template-riverpod のプロジェクト画像
スター
102
フォーク
24
最終プッシュ(UTC)
2023/12/06
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

flutter-project-template-riverpod

Requirements

Flutter: >=3.16.0 Dart SDK: >=3.2.0

Supported Platforms

Android iOS Web Windows MacOS Linux
✅ ✅ ✅ ✅ ❌ ❌

Live Demo

https://brizaldi.github.io/flutter-project-template-riverpod/

Installation

  • Add Flutter to your machine
  • Open this project folder with Terminal/CMD
  • Ensure there's no cache/build leftover by running flutter clean in the Terminal
  • Run in the Terminal flutter packages get
  • Run in the Terminal dart run build_runner build --delete-conflicting-outputs

Additional steps for iOS

  • Open ios folder inside Terminal/CMD
  • Run in the Terminal pod install
  • Run in the Terminal pod update

Running the App

  • Open Android Emulator or iOS Simulator
  • Run flutter run --flavor {RELEASE_TYPE} --dart-define flavor={RELEASE_TYPE}
  • Supported release type: development, staging, and production

Build an APK

  • Run flutter build apk --flavor {RELEASE_TYPE}
  • The apk will be saved under this location: [project]/build/app/outputs/flutter-apk/
  • We can also build appbundle (.aab) by running this command: flutter build appbundle --flavor {RELEASE_TYPE} --dart-define flavor={RELEASE_TYPE}

Build for iOS

  • Follow the tutorial from this link: https://flutter.dev/docs/deployment/ios#create-a-build-archive-with-xcode
  • Don't forget to add the release type behind the build command
  • For example flutter build ipa --flavor {RELEASE_TYPE} --dart-define flavor={RELEASE_TYPE}

For more information, check out the official documentation

Bahri Rizaldi GitHub avatar
GitHub 作者

Bahri Rizaldi ↗

言語DartC++CMakeHTMLCSwiftKotlinObjective-C

カテゴリー

使用している依存関係

依存関係一覧 32 件

ランキング

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗