{"id":20001713,"url":"https://github.com/solido/build_flutter_version","last_synced_at":"2025-10-06T14:15:13.986Z","repository":{"id":65982306,"uuid":"152471423","full_name":"Solido/build_flutter_version","owner":"Solido","description":"Access app version and git informations from auto-generated and configurable widgets","archived":false,"fork":false,"pushed_at":"2018-10-10T20:40:49.000Z","size":28,"stargazers_count":17,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-03T18:33:58.483Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Solido.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-10T18:33:38.000Z","updated_at":"2024-04-02T17:44:28.000Z","dependencies_parsed_at":"2023-02-19T18:45:20.349Z","dependency_job_id":null,"html_url":"https://github.com/Solido/build_flutter_version","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solido%2Fbuild_flutter_version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solido%2Fbuild_flutter_version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solido%2Fbuild_flutter_version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solido%2Fbuild_flutter_version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Solido","download_url":"https://codeload.github.com/Solido/build_flutter_version/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224394066,"owners_count":17303827,"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","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-13T05:18:28.802Z","updated_at":"2025-10-06T14:15:13.879Z","avatar_url":"https://github.com/Solido.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## This is a proof of concept and WIP\n\n#### Feedback and ideas welcome !!\n\nAccess your pubspec and git commit informations like versions and commit status from **auto-generated** widgets.\n\nConfigure your widgets to display pertinent and always up to date informations to your users like the last build version,\nexpose advanced info in production or dev only to help debug specific builds.\n\nPreconfigured widgets \n\n#### Flutter\n\n- [Title](https://docs.flutter.io/flutter/widgets/Title-class.html)\n- [AboutDialog](https://docs.flutter.io/flutter/material/AboutDialog-class.html)\n- [AboutListTile](https://docs.flutter.io/flutter/material/AboutListTile-class.html)\n\n#### In house\n\n- DisplayVersion\n- Journal\n\n[More to come !](https://github.com/Solido/build_flutter_version/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement)\n\n_NB: I wrote this specific Flutter and Git version based on the work of https://github.com/kevmoo/build_version\nand will try to follow this package evolution on top of our own requirements._\n\n## Requirements\n\n- Git command available in current path\n- Working on an existing git dir\n\n## Installation\n\nAdd this builder under the `dev_dependencies` section of the `pubspec.yaml` file:\n\n```yaml\ndev_dependencies:\n  build_runner: ^1.0.0\n  build_flutter_version:\n    git:\n      url: https://github.com/Solido/build_flutter_version\n```\n\nThen\n\n    flutter packages pub run build_runner watch\n    \nWill generate a dart file at `utils/version.dart`\nJust import this file to access Widgets that fits your needs.\n\n\n## Configuration\n\n```dart\nDisplayVersion(\n  // Version contains infos about the pubspec and last git commit\n  builder: (context, version) { \n     return Text(\"${version.name} ${version.version} / ${version.gitInfo.message} : ${version.gitInfo.sha}\");\n     // =\u003e MyAppName 1.2 / adding help section : c78d654678iozka8790\n  },\n)\n```\n\n### Check required\n\n- Inherited Title\n- AboutDialog\n- AboutListTile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolido%2Fbuild_flutter_version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolido%2Fbuild_flutter_version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolido%2Fbuild_flutter_version/lists"}