{"id":15487710,"url":"https://github.com/myconsciousness/app-version","last_synced_at":"2025-03-28T16:15:45.946Z","repository":{"id":56826211,"uuid":"438678149","full_name":"myConsciousness/app-version","owner":"myConsciousness","description":"This is a Flutter widget that checks and displays the version status of application and you can easily guide user to update your app.","archived":false,"fork":false,"pushed_at":"2021-12-16T14:47:48.000Z","size":10,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T07:54:05.274Z","etag":null,"topics":["app-version-checker","dart","flutter","library","pubdev","version","widget"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/app_version","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myConsciousness.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-15T15:25:40.000Z","updated_at":"2023-02-28T19:04:57.000Z","dependencies_parsed_at":"2022-09-20T22:02:35.887Z","dependency_job_id":null,"html_url":"https://github.com/myConsciousness/app-version","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myConsciousness%2Fapp-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myConsciousness%2Fapp-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myConsciousness%2Fapp-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myConsciousness%2Fapp-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myConsciousness","download_url":"https://codeload.github.com/myConsciousness/app-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246059336,"owners_count":20717085,"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":["app-version-checker","dart","flutter","library","pubdev","version","widget"],"created_at":"2024-10-02T06:41:30.776Z","updated_at":"2025-03-28T16:15:45.922Z","avatar_url":"https://github.com/myConsciousness.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"**_A most easily usable Flutter widget about application version check!_**\n\n[![pub package](https://img.shields.io/pub/v/app_version.svg)](https://pub.dev/packages/app_version)\n\n\u003c!-- TOC --\u003e\n\n- [1. About](#1-about)\n  - [1.1. Introduction](#11-introduction)\n    - [1.1.1. Install Library](#111-install-library)\n    - [1.1.2. Import It](#112-import-it)\n    - [1.1.3. Use AppVersion](#113-use-appversion)\n    - [1.1.4. How it works](#114-how-it-works)\n      - [1.1.4.1. When app version is older](#1141-when-app-version-is-older)\n      - [1.1.4.2. When app version is the latest](#1142-when-app-version-is-the-latest)\n  - [1.2. License](#12-license)\n  - [1.3. More Information](#13-more-information)\n\n\u003c!-- /TOC --\u003e\n\n# 1. About\n\n`AppVersion` is an open-sourced Flutter widget.\u003c/br\u003e\nWith `AppVersion`, you can easily check and display about new version of your application.\n\n## 1.1. Introduction\n\n### 1.1.1. Install Library\n\n**_With Flutter:_**\n\n```terminal\n flutter pub add app_version\n```\n\n### 1.1.2. Import It\n\n```dart\nimport 'package:app_version/app_version.dart';\n```\n\n### 1.1.3. Use AppVersion\n\nIt's very easy to integrate to your application with using `AppVersion` widget.\n\n```dart\nimport 'package:app_version/app_version.dart';\nimport 'package:flutter/material.dart';\n\nclass DemoAppVersion extends StatelessWidget {\n  const DemoAppVersion({Key? key}) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) =\u003e Scaffold(\n        appBar: AppBar(\n          title: const Text('Sample For App Version'),\n        ),\n        body: const Center(\n          child: AppVersion(), // ← Just here\n        ),\n      );\n}\n```\n\n### 1.1.4. How it works\n\n#### 1.1.4.1. When app version is older\n\nThis widget shows app information and about new version.\n\n\u003cimg width=\"338\" alt=\"スクリーンショット 2021-12-16 9 53 39\" src=\"https://user-images.githubusercontent.com/13072231/146288139-c36d7725-d4db-4fb2-a5c0-fa27688975e2.png\"\u003e\n\nBy tapping this widget, you can display a dialog that prompts user to update. This dialog will only appear if an update is available, and the release notes for the new version will be displayed in the center of the dialog. The user can choose to update now or not, and even if they skip it, they can tap this widget again to display the same dialog.\n\n\u003cimg width=\"270\" alt=\"スクリーンショット 2021-12-16 23 44 22\" src=\"https://user-images.githubusercontent.com/13072231/146393060-bdbaca3b-7a82-406a-b702-0fb3387ffdef.png\"\u003e\n\n#### 1.1.4.2. When app version is the latest\n\nIf the app version is already up-to-date, just indicate the app version information and that this is the latest. You still can tap the widget, but no event will be triggered.\n\n\u003cimg width=\"335\" alt=\"スクリーンショット 2021-12-16 9 58 45\" src=\"https://user-images.githubusercontent.com/13072231/146288508-262a2343-ffae-4862-9e65-c1867beae945.png\"\u003e\n\n## 1.2. License\n\n```license\nCopyright (c) 2021, Kato Shinya. All rights reserved.\nUse of this source code is governed by a\nBSD-style license that can be found in the LICENSE file.\n```\n\n## 1.3. More Information\n\n`AppVersion` was designed and implemented by **_Kato Shinya_**.\n\n- [Creator Profile](https://github.com/myConsciousness)\n- [License](https://github.com/myConsciousness/app-version/blob/main/LICENSE)\n- [API Document](https://pub.dev/documentation/app_version/latest/app_version/app_version-library.html)\n- [Release Note](https://github.com/myConsciousness/app-version/releases)\n- [Bug Report](https://github.com/myConsciousness/app-version/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyconsciousness%2Fapp-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyconsciousness%2Fapp-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyconsciousness%2Fapp-version/lists"}