{"id":20468482,"url":"https://github.com/joshuadeguzman/flutter_dialogs","last_synced_at":"2026-01-11T04:52:32.591Z","repository":{"id":46066883,"uuid":"212782341","full_name":"joshuadeguzman/flutter_dialogs","owner":"joshuadeguzman","description":"💬 A lightweight and platform-aware plugin for showing dialogs and alerts for both Android and iOS devices.","archived":false,"fork":false,"pushed_at":"2022-07-24T22:36:47.000Z","size":350,"stargazers_count":14,"open_issues_count":4,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T08:07:50.478Z","etag":null,"topics":["alerts","android","dart","dialogs","flutter","hacktoberfest","ios","sdk"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_dialogs","language":"C++","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/joshuadeguzman.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":"2019-10-04T09:44:16.000Z","updated_at":"2024-06-20T07:15:47.000Z","dependencies_parsed_at":"2022-07-19T02:17:07.834Z","dependency_job_id":null,"html_url":"https://github.com/joshuadeguzman/flutter_dialogs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshuadeguzman%2Fflutter_dialogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshuadeguzman%2Fflutter_dialogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshuadeguzman%2Fflutter_dialogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshuadeguzman%2Fflutter_dialogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshuadeguzman","download_url":"https://codeload.github.com/joshuadeguzman/flutter_dialogs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248696959,"owners_count":21147222,"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":["alerts","android","dart","dialogs","flutter","hacktoberfest","ios","sdk"],"created_at":"2024-11-15T14:05:39.428Z","updated_at":"2026-01-11T04:52:32.583Z","avatar_url":"https://github.com/joshuadeguzman.png","language":"C++","readme":"# flutter_dialogs\n\nA lightweight and platform-aware plugin for showing dialogs and alerts for both Android and iOS devices. Supports null-safety and Flutter 2.0.\n\n## Features\n\n- Platform aware\n- Extendable widgets\n- Lightweight \u003c 28 KB\n\n## Usage\n\nSample Alert\n```\nshowPlatformDialog(\n  context: context,\n  builder: (context) =\u003e BasicDialogAlert(\n    title: Text(\"Current Location Not Available\"),\n    content:\n        Text(\"Your current location cannot be determined at this time.\"),\n    actions: \u003cWidget\u003e[\n      BasicDialogAction(\n        title: Text(\"OK\"),\n        onPressed: () {\n          Navigator.pop(context);\n        },\n      ),\n    ],\n  ),\n);\n```\nOutput\n\n|iOS|Android|\n|---|---|\n|![ios-basic-dialog-alert](.github/basic_ios_alert.png)|![android-basic-dialog-alert](.github/basic_android_alert.png)|\n\n\nSample Confirmation\n```\nshowPlatformDialog(\n  context: context,\n  builder: (context) =\u003e BasicDialogAlert(\n    title: Text(\"Discard draft?\"),\n    content: Text(\"Action cannot be undone.\"),\n    actions: \u003cWidget\u003e[\n      BasicDialogAction(\n        title: Text(\"Cancel\"),\n        onPressed: () {\n          Navigator.pop(context);\n        },\n      ),\n      BasicDialogAction(\n        title: Text(\"Discard\"),\n        onPressed: () {\n          Navigator.pop(context);\n        },\n      ),\n    ],\n  ),\n);\n```\nOutput\n\n|iOS|Android|\n|---|---|\n|![ios-basic-dialog-confirmation](.github/basic_ios_confirmation.png)|![android-basic-dialog-confirmation](.github/basic_android_confirmation.png)|\n\nSample List\n```\nshowPlatformDialog(\n  context: context,\n  builder: (context) =\u003e BasicDialogAlert(\n    title: Text(\"Select account\"),\n    content: Container(\n      height: 200,\n      child: ListView(\n        children: \u003cWidget\u003e[\n          _buildListSampleItem(\"joshua@joshuamdeguzman.com\"),\n          _buildListSampleItem(\"hello@gmail.com\"),\n          _buildListSampleItem(\"joshua@flutter.ph\"),\n          _buildListSampleItem(\"jdeguzman@freelancer.com\"),\n        ],\n      ),\n    ),\n    actions: \u003cWidget\u003e[\n      BasicDialogAction(\n        title: Text(\"Cancel\"),\n        onPressed: () {\n          Navigator.pop(context);\n        },\n      ),\n    ],\n  ),\n);\n```\nOutput\n\n|iOS|Android|\n|---|---|\n|![ios-basic-dialog-list](.github/basic_ios_list.png)|![android-basic-dialog-list](.github/basic_android_list.png)|\n\n## License\n\nMIT [@joshuadeguzman](https://github.com/joshuadeguzman/flutter-dialogs/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshuadeguzman%2Fflutter_dialogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshuadeguzman%2Fflutter_dialogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshuadeguzman%2Fflutter_dialogs/lists"}