{"id":24987574,"url":"https://github.com/tomoyanakano/flutter-app-template","last_synced_at":"2026-05-18T09:10:08.791Z","repository":{"id":207625995,"uuid":"719693620","full_name":"tomoyanakano/flutter-app-template","owner":"tomoyanakano","description":"💙 My Flutter app template","archived":false,"fork":false,"pushed_at":"2024-04-09T03:33:59.000Z","size":314,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T08:06:24.627Z","etag":null,"topics":["flutter","flutter-apps","flutter-template"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomoyanakano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-16T17:51:06.000Z","updated_at":"2025-06-11T06:33:01.000Z","dependencies_parsed_at":"2023-12-26T15:53:55.368Z","dependency_job_id":"d483a036-00ba-4d8c-81f2-537bc7c5829d","html_url":"https://github.com/tomoyanakano/flutter-app-template","commit_stats":null,"previous_names":["tomoyanakano/flutter-app-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/tomoyanakano/flutter-app-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyanakano%2Fflutter-app-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyanakano%2Fflutter-app-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyanakano%2Fflutter-app-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyanakano%2Fflutter-app-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomoyanakano","download_url":"https://codeload.github.com/tomoyanakano/flutter-app-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomoyanakano%2Fflutter-app-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273554289,"owners_count":25126312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter","flutter-apps","flutter-template"],"created_at":"2025-02-04T11:48:14.492Z","updated_at":"2025-10-05T23:44:37.323Z","avatar_url":"https://github.com/tomoyanakano.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Smilies/Blue%20Heart.png\" alt=\"Blue Heart\" width=\"35\" height=\"35\" /\u003e flutter_app_template\n\nA template for flutter app development with best practices and features.\n\n\n## \u003cimg src=\"https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Travel%20and%20places/Rocket.png\" alt=\"Rocket\" width=\"30\" height=\"30\" /\u003e Getting Started\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/firebase/flutterfire.git\n```\n\n### Install dependencies\n\n```bash\nflutter pub get\n```\n\n### Setup Flavors\n\nBy editing the `dart_defines/dev.json` and `dart_defines/prod.json` files, you can define the environment variables for the app.\n\n```json\n{\n  \"flavor\": \"dev\",\n  \"appName\": \"tomoyanakano - dev\",\n  \"appIdSuffix\": \".dev\",\n  \"iOSBundleIdentifier\": \"com.tomoyanakano.dev\",\n  \"androidBundleIdentifier\": \"com.tomoyanakano.dev\",\n  \"LaunchStoryboardName\": \"LaunchScreenDev\"\n}\n```\n\n### Generate App Icon\n\nUsing [flutter_launcher_icons package](https://pub.dev/packages/flutter_launcher_icons), you can generate app icons for both iOS and Android.\n\nBy editing the `flutter_launcher_icons-dev.yaml` and `flutter_launcher_icons-prod.yaml` files, you can define the app icon settings.\nFor more details, see the [documentation](https://pub.dev/packages/flutter_launcher_icons).\n\n```yaml\nflutter_icons:\n  android: true\n  ios: true\n  image_path: \"assets/launcher_icon/dev.png\" // icon image path\n```\n\nRun the following command to generate app icons.\n\n```bash\nflutter pub run flutter_launcher_icons:main\n```\n\n### Generate App Launch Storyboard\n\nUsing [flutter_native_splash package](https://pub.dev/packages/flutter_native_splash), you can generate launch storyboard for iOS.\n\nBy editing the `flutter_native_splash-dev.yaml` and `flutter_native_splash-prod.yaml` files, you can define the launch storyboard settings.\nFor more details, see the [documentation](https://pub.dev/packages/flutter_native_splash).\n\n```yaml\nflutter_native_splash:\n  color: \"#ffffff\"\n  image: assets/launcher_icon/dev.png // launch storyboard image path\n\n  android_12:\n    image: assets/launcher_icon/dev.png // launch storyboard image path\n    icon_background_color: \"#ffffff\" // icon background color\n```\n\nRun the following command to generate launch storyboard.\n\n```bash\nflutter pub run flutter_native_splash:create --flavors dev,prod  \n```\n\n### Integrate with Firebase \u003cimg src=\"https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Travel%20and%20places/Fire.png\" alt=\"Fire\" width=\"25\" height=\"25\" /\u003e\n\nThis template uses Firebase for backend services. To integrate Firebase with the app, follow the steps below.\n\n1. Create a new project on Firebase Console.\n2. Add iOS and Android apps to the project.\n\n#### iOS Setup\n\n1. Download `GoogleService-Info.plist` from Firebase Console.\n2. Place the file in the `ios/dev` or `ios/prod` directory. \n\n#### Android Setup\n\n1. Download `google-services.json` from Firebase Console.\n2. Place the file in the `android/app/src/dev` or `android/app/src/prod` directory.\n\n### Build and Run the app\n\n```bash\nflutter run --dart-define-from-file=dart_defines/dev.json // Develpment environment\nflutter run --dart-define-from-file=dart_defines/prod.json // Prod environment\n```\n\n## \u003cimg src=\"https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Objects/Gear.png\" alt=\"Gear\" width=\"30\" height=\"30\" /\u003e Architecture\n\n### Code Structure\n\nThis template follows the Clean Architecture pattern for organizing the codebase by using Riverpod.\n\n```mermaid\ngraph TD;\n    subgraph Presentation\n        Widgets\n        States\n    end\n    subgraph UseCase\n        Notifier\n        Provider\n    end\n    subgraph Application\n        Service\n    end\n    subgraph Domain\n        Model\n    end\n    subgraph Data\n        Repository\n        DataSource\n    end\n\n    Presentation --\u003e|query| Provider\n    Presentation --\u003e|mutate| Notifier\n    Provider --\u003e Application\n    Notifier --\u003e Application\n    Application --\u003e Domain\n    Domain --\u003e Data\n    Repository --\u003e DataSource\n```\n\n### Folder Structure\n\nThis Template follows Feature First Structure(Folders-by-Feature) for organizing the codebase.\nFor example, the `lib` directory is structured as follows:\n\n```bash\nlib\n├── src \n│   ├── features \n│   │   ├── feature1 \n│   │   │   ├── data\n│   │   │   ├── domain\n│   │   │   ├── presentation\n│   │   │   ├── providers \n│   │   │   feature2 \n│   │   │   ├── data\n│   │   │   ├── domain\n│   │   │   ├── presentation\n│   │   │   ├── providers\n│   ├── common_widgets \n│   ├── constants\n│   ├── extensions\n│   ├── router\n│   ├── utilities \n```\n\nRefer to the [Flutter Project Structure / Code with Andrea](https://codewithandrea.com/articles/flutter-project-structure/).\n\n## \u003cimg src=\"https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Activities/Sparkles.png\" alt=\"Sparkles\" width=\"30\" height=\"30\" /\u003e Built in Features\n\n- Authentication\n- Maintenance Mode\n- Force Update\n- Notification\n- Settings\n\n## \u003cimg src=\"https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/People/Man%20Technologist.png\" alt=\"Man Technologist\" width=\"30\" height=\"30\" /\u003e\u003cimg src=\"https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/People/Woman%20Technologist.png\" alt=\"Woman Technologist\" width=\"30\" height=\"30\" /\u003e Contributing\n\nFeel free to contribute to this project. Any contributions you make are **greatly appreciated**.\n\n## \u003cimg src=\"https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Objects/Memo.png\" alt=\"Memo\" width=\"30\" height=\"30\" /\u003e License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomoyanakano%2Fflutter-app-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomoyanakano%2Fflutter-app-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomoyanakano%2Fflutter-app-template/lists"}