{"id":13551372,"url":"https://github.com/AndresR173/countdown_progress_indicator","last_synced_at":"2025-04-03T01:32:30.983Z","repository":{"id":46690441,"uuid":"328218369","full_name":"AndresR173/countdown_progress_indicator","owner":"AndresR173","description":"Customizable countdown timer for Flutter","archived":false,"fork":false,"pushed_at":"2024-07-14T10:03:01.000Z","size":1505,"stargazers_count":12,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-30T04:37:03.131Z","etag":null,"topics":["countdown-timer","dart","flutter","ui-components","widget"],"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/AndresR173.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-09T18:17:38.000Z","updated_at":"2024-08-10T23:46:36.000Z","dependencies_parsed_at":"2024-08-01T12:19:12.493Z","dependency_job_id":"e4e79b34-fcae-4d48-a065-af8cefc17a15","html_url":"https://github.com/AndresR173/countdown_progress_indicator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresR173%2Fcountdown_progress_indicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresR173%2Fcountdown_progress_indicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresR173%2Fcountdown_progress_indicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndresR173%2Fcountdown_progress_indicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndresR173","download_url":"https://codeload.github.com/AndresR173/countdown_progress_indicator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222905807,"owners_count":17055817,"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":["countdown-timer","dart","flutter","ui-components","widget"],"created_at":"2024-08-01T12:01:46.808Z","updated_at":"2024-11-03T21:32:05.777Z","avatar_url":"https://github.com/AndresR173.png","language":"Dart","readme":"# Countdown Progress Indicator\n\n![](https://badges.fyi/github/latest-tag/AndresR173/countdown_progress_indicator)\n![](https://badges.fyi/github/stars/AndresR173/countdown_progress_indicator)\n![](https://badges.fyi/github/license/AndresR173/countdown_progress_indicator)\n\nCustomizable countdown timer for Flutter\n\n## Getting Started\n\nTo use this package, add `countdown_progress_indicador` as a dependency in your `pubspec.yaml` file.\n\n```yaml\ndependencies:\n\t...\n\tcountdown_progress_indicador: ^0.1.3\n```\n\n## How to use\n\nIn your project add the following import:\n\n```dart\nimport  'package:countdown_progress_indicator/countdown_progress_indicator.dart';\n```\n\nThis widget starts the countdown automatically by default and supports pause and resume actions.\nIf you want to support these actions, implement a `CountdownController` as the example above:\n\n```dart\nSizedBox(\n\theight:  200,\n\twidth:  200,\n\tchild:  CountDownProgressIndicator(\n\t\tcontroller: _controller,\n\t\tvalueColor:  Colors.red,\n\t\tbackgroundColor:  Colors.blue,\n\t\tinitialPosition:  0,\n\t\tduration:  20,\n\t\ttext:  'SEC',\n\t\tonComplete: () =\u003e  null,\n\t),\n),\n```\n\n## Custom Formatter\n\nIf you want to show a text different than the time in seconds, you can implement a custom time formatter.\n\n```dart\nCountDownProgressIndicator(\n\tcontroller: _controller,\n\tvalueColor: Colors.red,\n\tbackgroundColor: Colors.blue,\n\tinitialPosition: 0,\n\tduration: 365,\n\ttimeFormatter: (seconds) {\n\t\treturn Duration(seconds: seconds)\n\t\t\t.toString()\n\t\t\t.split('.')[0]\n\t\t\t.padLeft(8, '0');\n\t},\n\ttext: 'hh:mm:ss',\n\tonComplete: () =\u003e null,\n),\n```\n\n# Countdown\n\n![countdown](https://github.com/AndresR173/countdown_progress_indicator/blob/main/src/img/countdown.gif)\n","funding_links":[],"categories":["Dart"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndresR173%2Fcountdown_progress_indicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAndresR173%2Fcountdown_progress_indicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndresR173%2Fcountdown_progress_indicator/lists"}