{"id":13684374,"url":"https://github.com/boyan01/overlay_support","last_synced_at":"2025-04-12T17:43:45.881Z","repository":{"id":34168647,"uuid":"166038491","full_name":"boyan01/overlay_support","owner":"boyan01","description":"a flutter toast and notification library","archived":false,"fork":false,"pushed_at":"2023-10-04T01:39:02.000Z","size":13466,"stargazers_count":384,"open_issues_count":4,"forks_count":102,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T19:15:51.055Z","etag":null,"topics":["flutter","flutter-package","notifications","overlay","overlay-support","toast"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boyan01.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}},"created_at":"2019-01-16T12:42:34.000Z","updated_at":"2025-03-19T09:40:14.000Z","dependencies_parsed_at":"2023-10-04T09:26:17.127Z","dependency_job_id":"238c82a8-8fc0-4411-9a9a-e279b195e8c0","html_url":"https://github.com/boyan01/overlay_support","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyan01%2Foverlay_support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyan01%2Foverlay_support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyan01%2Foverlay_support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyan01%2Foverlay_support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boyan01","download_url":"https://codeload.github.com/boyan01/overlay_support/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248608982,"owners_count":21132822,"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":["flutter","flutter-package","notifications","overlay","overlay-support","toast"],"created_at":"2024-08-02T14:00:32.871Z","updated_at":"2025-04-12T17:43:45.856Z","avatar_url":"https://github.com/boyan01.png","language":"Dart","funding_links":[],"categories":["Dart","Packages"],"sub_categories":[],"readme":"# overlay_support\n\n[![Pub](https://img.shields.io/pub/v/overlay_support.svg)](https://pub.dev/packages/overlay_support)\n[![Pub](https://img.shields.io/pub/v/overlay_support.svg?include_prereleases)](https://pub.dev/packages/overlay_support)\n[![CI](https://github.com/boyan01/overlay_support/workflows/CI/badge.svg)](https://github.com/boyan01/overlay_support/actions)\n[![codecov](https://codecov.io/gh/boyan01/overlay_support/branch/master/graph/badge.svg)](https://codecov.io/gh/boyan01/overlay_support)\n\nProvider support for `overlay`, make it easy to build **toast** and **In-App notification**.\n\n**this library support ALL platform**\n\n## Interaction\n\nIf you want to see the ui effect of this library, just click\nhere [https://boyan01.github.io/overlay_support/#/](https://boyan01.github.io/overlay_support/#/)\n\n## How To Use\n\n1. add dependencies into you project `pubspec.yaml` file\n\n    ```yaml\n    dependencies:\n        overlay_support: latest_version\n    ```\n\n   * the latest version is [![Pub](https://img.shields.io/pub/v/overlay_support.svg)](https://pub.dev/packages/overlay_support)\n   * For project without migrate to null safety, please use version `overlay_support: 1.0.5-hotfix1`\n\n2. wrap your AppWidget with `OverlaySupport`\n\n```dart #build()\n  return OverlaySupport.global(child: MaterialApp());\n```\n\n3. show toast or simple notifications\n\n```dart\nimport 'package:overlay_support/overlay_support.dart';\n\nvoid onClick() {\n    // popup a toast.\n    toast('Hello world!');\n\n    // show a notification at top of screen.\n    showSimpleNotification(\n        Text(\"this is a message from simple notification\"),\n        background: Colors.green);\n}\n```\n\nmore instructions check here :  [example/README.md](./example/README.md)\n\n## License\n\nsee License File\n\n## End\n\nif you have some suggestion or advice, please open an issue to let me known. This will greatly help\nthe improvement of the usability of this project. Thanks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyan01%2Foverlay_support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboyan01%2Foverlay_support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyan01%2Foverlay_support/lists"}