Material Dialogs는 애니메이션 효과가 있으며 스타일리시하고 사용자 정의 가능한 마테리얼 디자인 대화 상자를 쉽게 만들 수 있도록 설계된 Flutter 패키지입니다. 모든 플랫폼에서 마테리얼 가이드라인에 부합하는 현대적인 대화 상자 인터페이스를 구축하기 위한 사용하기 쉬운 API를 제공합니다. 경고, 확인 및 사용자 지정 대화 상자와 같은 다양한 대화 상자 유형을 지원하며 부드러운 애니메이션과 반응형 레이아웃을 갖추고 있습니다. 안드로이드, iOS, 웹, macOS, Windows, 리눅스용 앱에서 시각적으로 매력적인 팝업을 통해 사용자 상호작용을 향상시키기에 이상적입니다.
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.