{"id":13551074,"url":"https://github.com/Leocardoso94/flutter-countdown","last_synced_at":"2025-04-03T01:31:11.148Z","repository":{"id":53940722,"uuid":"189892383","full_name":"Leocardoso94/flutter-countdown","owner":"Leocardoso94","description":"A simple countdown plugin for flutter ⌛","archived":false,"fork":false,"pushed_at":"2021-03-11T09:36:33.000Z","size":120,"stargazers_count":45,"open_issues_count":10,"forks_count":22,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T21:51:55.576Z","etag":null,"topics":["countdown","dart","flutter","flutter-package","flutter-plugin"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/countdown_flutter","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/Leocardoso94.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-02T20:31:52.000Z","updated_at":"2024-05-23T06:29:13.000Z","dependencies_parsed_at":"2022-08-13T05:10:31.310Z","dependency_job_id":null,"html_url":"https://github.com/Leocardoso94/flutter-countdown","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/Leocardoso94%2Fflutter-countdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leocardoso94%2Fflutter-countdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leocardoso94%2Fflutter-countdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leocardoso94%2Fflutter-countdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leocardoso94","download_url":"https://codeload.github.com/Leocardoso94/flutter-countdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922034,"owners_count":20855341,"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","dart","flutter","flutter-package","flutter-plugin"],"created_at":"2024-08-01T12:01:41.969Z","updated_at":"2025-04-03T01:31:10.430Z","avatar_url":"https://github.com/Leocardoso94.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# flutter-countdown\n\nA simple countdown plugin for flutter ⌛\n\n![gif](https://github.com/Leocardoso94/flutter-countdown/blob/master/images/countdown.gif?raw=true)\n\n## Getting Started\n\nThis project is a starting point for a Flutter\n[plug-in package](https://flutter.dev/developing-packages/),\na specialized package that includes platform-specific implementation code for\nAndroid and/or iOS.\n\nFor help getting started with Flutter, view our\n[online documentation](https://flutter.dev/docs), which offers tutorials,\nsamples, guidance on mobile development, and a full API reference.\n\n### Usage\n\n#### Countdown\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:countdown_flutter/countdown_flutter.dart';\n\nclass Foo extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return Center(\n      child: Countdown(\n        duration: Duration(seconds: 10),\n        onFinish: () {\n          print('finished!');\n        },\n        builder: (BuildContext ctx, Duration remaining) {\n            return Text('${remaining.inMinutes}:${remaining.inSeconds}');\n        },\n      ),\n    );\n  }\n}\n\n```\n\n#### CountdownFormatted\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:countdown_flutter/countdown_flutter.dart';\n\nclass Foo extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return Center(\n      child: CountdownFormatted(\n        duration: Duration(hours: 1),\n        builder: (BuildContext ctx, String remaining) {\n          return Text(remaining); // 01:00:00\n        },\n      ),\n    );\n  }\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeocardoso94%2Fflutter-countdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeocardoso94%2Fflutter-countdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeocardoso94%2Fflutter-countdown/lists"}