v0.0.15aesthetic_dialogs
इस फ्लटर प्लगइन का उपयोग आप अच्छे कस्टम डायलॉग बॉक्स दिखाने के लिए कर सकते हैं।
📱 💫तरल, 😍सुंदर, 🎨कस्टम डायलॉग के लिए फ्लटर प्लगइन
{"sdk":"flutter"}{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
AestheticDialogs is inspired by Laravel Notify This Flutter plugin allows you to display nice custom dialog boxes. It is only available on Android at the moment.
Android Version : AestheticDialogs
screen.png
Kotlin version : minimum 1.3.40
AestheticDialog use AppCompat Themes
Add the dependency
dependencies {
...
implementation 'androidx.appcompat:appcompat:1.2.0'
}
Follow the instructions to integrate a package into your Flutter application. Make sure you also use the AppCompat themes :
import 'package:AestheticDialogs/AestheticDialogs.dart';
...
AestheticDialogs.showDialog(
title: "My Dialog",
message: "Hello!!!",
cancelable: true,
darkMode: false,
dialogAnimation: DialogAnimation.IN_OUT,
dialogGravity: DialogGravity.CENTER,
dialogStyle: DialogStyle.EMOJI,
dialogType: DialogType.INFO,
duration: 3000);
The time is expressed in milliseconds and by default it is 3000ms. A more complete example can be found in the "example" folder of the Git repository.
AestheticDialog At this moment, library provides eight types of dialog i.e.
| 1. Flash Dialog | 2. Connectify Dialog | 3. Toaster Dialog |
|---|---|---|
| https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/flash.gif | https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/connectify.gif | https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/toaster.gif |
| 4. Emotion Dialog | 5. Drake Dialog | 6. Emoji Dialog |
| https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/emotion.gif | https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/drake.gif | https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/emoji.gif |
| 7. Rainbow Dialog | 8. Flat Dialog | |
| https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/rainbow.png | https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/flat.png |
AestheticDialog Also provides Dark Theme for some dialogs i.e.
| 1. Connectify Dark Dialog | 2. Toaster Dark Dialog | 3. Emoji Dark Dialog |
|---|---|---|
| https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/connectify-dark.png | https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/toaster-dark.png | https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/emoji-dark.png |
| 4. Flat Dark Dialog | LET's USE aesthetic Dialog ! | |
| https://github.com/gabriel-TheCode/AndroidLibrariesAssets/raw/master/AestheticDialogs/flat-dark.png | ||
Constants
| DIALOG STYLE | DIALOG TYPE | DIALOG ANIMATION |
|---|---|---|
| RAINBOW FLAT CONNECTIFY TOASTER DRAKE EMOJI EMOTION |
SUCCESS ERROR WARNING INFO |
DEFAULT SLIDE_UP, SLIDE_DOWN SLIDE_LEFT, SLIDE_RIGHT SWIPE_LEFT, SWIPE_RIGHT IN_OUT CARD SHRINK SPLIT DIAGONAL SPIN WINDMILL FADE ZOOM |
You can download the demo app on PlayStore
You can contribute us by filing issues, bugs and PRs.
dev branch. Add nice description in PR.