{"id":20036160,"url":"https://github.com/monitork/provider_template","last_synced_at":"2026-05-11T11:37:22.185Z","repository":{"id":202615547,"uuid":"227396747","full_name":"monitork/provider_template","owner":"monitork","description":null,"archived":false,"fork":false,"pushed_at":"2019-12-11T15:21:24.000Z","size":811,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T06:17:38.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/monitork.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}},"created_at":"2019-12-11T15:21:19.000Z","updated_at":"2021-01-11T23:58:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"32a46822-2cae-4052-90cf-ab207eef0141","html_url":"https://github.com/monitork/provider_template","commit_stats":null,"previous_names":["monitork/provider_template"],"tags_count":0,"template":false,"template_full_name":"VictorUvarov/provider_architecture_template","purl":"pkg:github/monitork/provider_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monitork%2Fprovider_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monitork%2Fprovider_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monitork%2Fprovider_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monitork%2Fprovider_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monitork","download_url":"https://codeload.github.com/monitork/provider_template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monitork%2Fprovider_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32893781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":[],"created_at":"2024-11-13T10:11:05.528Z","updated_at":"2026-05-11T11:37:22.162Z","avatar_url":"https://github.com/monitork.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# provider_start\n\nA production ready flutter application template for the provider architecture.\n\n## Inspiration\n\n- This project is a starting point for a Flutter application using the provider architecture.\n- This project heavily uses the flutter tutorials and snippets of the filled stacks YouTube channel.\n- Feel free to send in Pull Requests to improve the application.\n\nFilled Stacks Links:\n\n- [Filled Stacks Website](https://www.filledstacks.com/)\n- [Filled Stacks Github Tutorials](https://github.com/FilledStacks/flutter-tutorials)\n- [Filled Stacks YouTube](https://www.youtube.com/channel/UC2d0BYlqQCdF9lJfydl_02Q)\n- [Filled Stacks Slack](https://filledstacks.slack.com/join/shared_invite/enQtNjY0NTQ3MTYwMzEwLTJjZmU0ODRhOTA5ZGE3MTUxOTUzODdlNzFjMDg0ZGU4ZDQzMzVlMDQ0MzYxZWNhOWViOGI1NjZiZDE1YTQ3NGM)\n\n## Folder structure\n\n```shell\n.\n├── core\n│   ├── constant\n│   ├── enums\n│   ├── exceptions\n│   ├── localization\n│   ├── managers\n│   ├── mixins\n│   ├── models\n│   ├── repositories\n│   ├── services\n│   ├── utils\n│   └── view_models\n└── ui\n    ├── shared\n    ├── views\n    └── widgets\n```\n\n## Features\n\n### Master branch\n\n- [x] bottom navigation bar\n- [x] intuitive UI router\n- [x] script for auto formatting on commits\n- [x] localization\n- [x] validation mixin for forms\n- [x] json serialization\n- [x] auth service example\n- [x] dialog service\n- [x] connectivity service\n- [x] hardware info service\n- [x] http service\n- [x] navigation service\n- [x] key storage service\n- [x] local storage service (NoSQL)\n- [x] system light/dark theme support\n- [x] platform adaptive widgets\n- [x] life cycle manager to start/stop background services\n- [x] app settings launcher\n- [x] custom fonts\n- [x] custom app icons\n- [ ] graphQL api service\n- [ ] responsive views\n- [ ] continuous scrolling\n- [ ] unit tests\n\n### Geolocator branch\n\n- [x] location service\n- [x] location permission service\n\n## Example pages included\n\n- Home View (Renders a list of posts fetched from JSON place holder API)\n- Login View (Form that simulates user login and form validation)\n- Main View (View that handles tab navigation)\n- Splash View (Initial loading screen that uses flare animations)\n- Post Details (Dynamic view that loads the post's user information)\n- Settings View (Example view that launches app settings and signs out user)\n\n## Getting started\n\n- run `chmod +x ./format.sh \u0026\u0026 ./format.sh` to setup git pre commit formatting or\n- run `chmod +x ./manual_format.sh` and run `./manual_format.sh` whenever you want to format the dart code\n- run `flutter packages pub run build_runner build --delete-conflicting-outputs` if you plan to add/change any serializers once\n- run `flutter packages pub run build_runner watch --delete-conflicting-outputs` if you plan to add/change any serializers multiple times\n\n## Adding support for another language\n\n- Find the language local code from here [codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)\n- Inside of `lib/local_setup.dart` add the local code to `supportedLocales` and `supportedLocalCodes`\n- Create a `\u003clocal\u003e.json` file under assets/lang/ and fill out every value for your language\n- Run `flutter clean` inside you lib apps directory if flutter complains\n- There is also a different way to implement locals using the [intl](https://pub.dev/packages/intl) package. An example on how to do so can be found [here](https://github.com/flutter/website/tree/master/examples/internationalization/intl_example)\n\n## Adding app icon\n\n- Change icon `assets/images/logo.png` to another image\n- If new icon has a different path update `flutter_icons:` in the `pubspec.yaml` file\n- Run flutter `flutter pub get` and then `flutter pub run flutter_launcher_icons:main`\n\n## Adding another model\n\n### Simple model\n\n- Create a `\u003cYOUR_MODEL\u003e.dart` under `core/models/\u003cYOUR_MODEL\u003e/\u003cYOUR_MODEL\u003e.dart`\n- Copy the `AlertRequest` from `core/models/alert_request/alert_request.dart` and replace all the class model names with `\u003cYOUR_MODEL\u003e`\n- Add your own custom getter values.\n- Add a part file. Ex: `\u003cYOUR_MODEL\u003e.g.dart` above the class\n- Run `flutter packages pub run build_runner build --delete-conflicting-outputs` to build your new model\n\n### Serializable model\n\n- Create a `\u003cYOUR_MODEL\u003e.dart` under `core/models/\u003cYOUR_MODEL\u003e/\u003cYOUR_MODEL\u003e.dart`\n- Copy the `User` from `core/models/user/user.dart` and replace all the class model names with `\u003cYOUR_MODEL\u003e`\n- Add your own custom getter values.\n- Add `\u003cYOUR_MODEL\u003e` to the list in `@SerializersFor` class constructor found under `core/models/serializer.dart`\n- Run `flutter packages pub run build_runner build --delete-conflicting-outputs` to build your new model\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonitork%2Fprovider_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonitork%2Fprovider_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonitork%2Fprovider_template/lists"}