Material Dialogs は、アニメーション付きでスタイリッシュかつカスタマイズ可能なマテリアルデザインのダイアログを作成するのを簡単にするための Flutter パッケージです。すべてのプラットフォームでマテリアルガイドラインに準拠したモダンなダイアログインターフェースを簡単に構築できる使いやすい API を提供します。アラート、確認、カスタムダイアログなど、さまざまなダイアログタイプをサポートし、滑らかなアニメーションと応答性のあるレイアウトを実現しています。Android、iOS、Web、macOS、Windows、Linux 向けのアプリで視覚的に魅力的なポップアップによりユーザー体験を向上させるのに最適です。
MaterialDialog This Plugin will be useful to create simple, animated, and beautiful dialogs in your next Flutter app.
This library implements Airbnb's Lottie library to render After Effects animation in app.
Types of Dialog
MaterialDialog library provides two types of dialog i.e.
1. Material Dialog
2. Bottom Sheet Material Dialog
A normal material dialog which can have one or two buttons.
A Bottom Sheet material dialog which can have one or two buttons, is showed from bottom of device.
Implementation
Implementation of Material Dialog library is so easy. You can check /example directory for demo. Let's have look talk in details about it.
IconsOutlineButton and IconsButton are both buttons widgets provided by the plugin to make things easier for you read more, you can use any other buttons if you want.
ii. Bottom Sheet Material Dialog
Dialogs class will be used to create your dialog, use bottomMaterialDialog. Below is an example to show your dialog in the app.
it's better to make your animation to have the same background color as your dialog's background color, please use lottie editor to remove the background layer of your animation or make it same as your dialog background color before using it in the plugin.
Contribute
Let's develop with collaborations. We would love to have contributions by raising issues and opening PRs. Filing an issue before PR is must.
Credits
This library is built using following open-source libraries.