{"id":21668572,"url":"https://github.com/christoph-jerolimov/flutter_alert","last_synced_at":"2026-01-11T04:48:50.726Z","repository":{"id":56829042,"uuid":"162001873","full_name":"christoph-jerolimov/flutter_alert","owner":"christoph-jerolimov","description":"A Flutter package to simplify alert messages on Android (Material) and iOS (Cupertino).","archived":false,"fork":false,"pushed_at":"2019-01-08T22:02:10.000Z","size":35,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T02:22:37.713Z","etag":null,"topics":["dart","dartlang","flutter","flutter-package","flutter-plugin","flutterandroid","flutterios"],"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/christoph-jerolimov.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":"2018-12-16T13:05:50.000Z","updated_at":"2025-01-16T21:55:14.000Z","dependencies_parsed_at":"2022-08-26T13:51:12.525Z","dependency_job_id":null,"html_url":"https://github.com/christoph-jerolimov/flutter_alert","commit_stats":null,"previous_names":["christoph-jerolimov/flutter_alert"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-jerolimov%2Fflutter_alert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-jerolimov%2Fflutter_alert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-jerolimov%2Fflutter_alert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-jerolimov%2Fflutter_alert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christoph-jerolimov","download_url":"https://codeload.github.com/christoph-jerolimov/flutter_alert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506121,"owners_count":21115384,"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":["dart","dartlang","flutter","flutter-package","flutter-plugin","flutterandroid","flutterios"],"created_at":"2024-11-25T12:16:30.866Z","updated_at":"2026-01-11T04:48:50.682Z","avatar_url":"https://github.com/christoph-jerolimov.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter_alert\n\n[![Build Status](https://travis-ci.org/jerolimov/flutter_alert.svg?branch=master)](https://travis-ci.org/jerolimov/flutter_alert)\n\nFlutter package which shows a crossplatform alert messages on Android (Material) and iOS (Cupertino).\n\n## Getting Started\n\nAdd this to your package's pubspec.yaml file:\n\n```yaml\ndependencies:\n  flutter_alert: ^0.4.0\n```\n\nYou can install packages from the command line:\n\n```\n$ flutter packages get\n```\n\nAlternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.\n\n## Example\n\nIn your Dart code, add this import:\n\n```darf\nimport 'package:flutter_alert/flutter_alert.dart';\n```\n\nAnd later show an alert when neccessary:\n\n```dart\n  void _showMessageDialog() {\n    showAlert(\n      context: context,\n      title: \"Awesome feature enabled.\",\n    );\n  }\n\n  void _showQuestionDialog() {\n    showAlert(\n      context: context,\n      title: \"Delete file?\",\n      body: \"Should we delete the file XYZ?\",\n      actions: [\n        AlertAction(\n          text: \"Delete\",\n          isDestructiveAction: true,\n          onPressed: () {\n            // TODO\n          },\n        ),\n      ],\n      cancelable: true,\n    );\n  }\n```\n\n## Contributors\n\nThis project follows the [all-contributors](https://all-contributors.js.org/) specification.\n\nContributions of any kind welcome!\n\nThanks goes to these people:\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n| \u003cimg src=\"https://avatars.githubusercontent.com/u/139310?s=100\u0026v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eChristoph Jerolimov\u003c/b\u003e\u003c/sub\u003e\u003cbr /\u003e[💻](https://github.com/jerolimov/flutter_alert/commits?author=jerolimov \"Code\") [📖](https://github.com/jerolimov/flutter_alert/commits?author=jerolimov \"Documentation\") [⚠️](https://github.com/jerolimov/flutter_alert/commits?author=jerolimov \"Tests\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/7152774?s=100\u0026v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eChristian Stahl\u003c/b\u003e\u003c/sub\u003e](https://github.com/thinkmobilede)\u003cbr /\u003e[💻](https://github.com/jerolimov/flutter_alert/commits?author=thinkmobilede \"Code\") [🤔](#ideas-thinkmobilede \"Ideas, Planning, \u0026 Feedback\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/1096485?s=100\u0026v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePascal Welsch\u003c/b\u003e\u003c/sub\u003e](https://github.com/passsy)\u003cbr /\u003e[🤔](#ideas-passsy \"Ideas, Planning, \u0026 Feedback\") |\n| :---: | :---: | :---: |\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristoph-jerolimov%2Fflutter_alert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristoph-jerolimov%2Fflutter_alert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristoph-jerolimov%2Fflutter_alert/lists"}