{"id":18508561,"url":"https://github.com/roundedinfinity/fluid_dialog","last_synced_at":"2025-04-09T03:32:04.338Z","repository":{"id":38682168,"uuid":"500856170","full_name":"RoundedInfinity/fluid_dialog","owner":"RoundedInfinity","description":"A flutter package for transformable dialogs.","archived":false,"fork":false,"pushed_at":"2023-06-29T15:50:52.000Z","size":2605,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T22:38:15.061Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/RoundedInfinity.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":"2022-06-07T13:39:32.000Z","updated_at":"2025-01-18T09:51:20.000Z","dependencies_parsed_at":"2023-01-21T02:03:49.476Z","dependency_job_id":null,"html_url":"https://github.com/RoundedInfinity/fluid_dialog","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/RoundedInfinity%2Ffluid_dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoundedInfinity%2Ffluid_dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoundedInfinity%2Ffluid_dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoundedInfinity%2Ffluid_dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoundedInfinity","download_url":"https://codeload.github.com/RoundedInfinity/fluid_dialog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247973842,"owners_count":21026735,"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":[],"created_at":"2024-11-06T15:14:44.087Z","updated_at":"2025-04-09T03:32:03.144Z","avatar_url":"https://github.com/RoundedInfinity.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"![cover](https://github.com/RoundedInfinity/fluid_dialog/blob/main/images/cover.png?raw=true)\n\n# Fluid Dialog\n\n[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]\n[![License: MIT][license_badge]][license_link]\n\nA dialog that can switch between multiple contents and animates size and alignment dynamically.\n\n### Video Demo\n\n![video demo](https://github.com/RoundedInfinity/fluid_dialog/blob/main/images/video.gif?raw=true)\n\n### Features 🎉\n\n- Navigate between different pages\n- Animated size and alignment\n- Fully customizable\n\n### Usage 🧪\n\nTo show a FluidDialog you typically use Flutter's `showDialog` function. You can also use your implementation to show the dialog.\n\nHere's an example:\n\n```dart\nshowDialog(\n context: context,\n builder: (context) =\u003e FluidDialog(\n  // Set the first page of the dialog.\n  rootPage: FluidDialogPage(\n    alignment: Alignment.bottomLeft, //Aligns the dialog to the bottom left.\n    builder: (context) =\u003e const TestDialog(), // This can be any widget.\n  ),\n ),\n);\n```\n\nTo **navigate** in the dialog, use the `DialogNavigator`. It works similarly to the flutter navigator.\n\nThis only works for widgets in the FluidDialog\n\n```dart\nTextButton(\n  onPressed: () =\u003e DialogNavigator.of(context).push(\n    FluidDialogPage(\n      builder: (context) =\u003e const SecondDialogPage(),\n    ),\n  ),\n  child: const Text('Go to next page'),\n),\n```\n\nTake a look at the [example](https://github.com/RoundedInfinity/fluid_dialog/blob/main/example/lib/main.dart) or [demo](https://github.com/RoundedInfinity/fluid_dialog/blob/main/example/lib/demo.dart) for more code.\n\n[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg\n[license_link]: https://opensource.org/licenses/MIT\n[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg\n[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froundedinfinity%2Ffluid_dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froundedinfinity%2Ffluid_dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froundedinfinity%2Ffluid_dialog/lists"}