flutter_icon_dialog 1.2.1
flutter_icon_dialog: ^1.2.1 copied to clipboard
Flutter icon dialog is a animated dialog and platform detected dialog from Flutter.
flutter_icon_dialog #
This widget is a simple dialog that deviates from the complex dialog of the flutter.
Features #
- Easier
- Animated Icons
- Platform matched widget (Android, iOS)
⚡ Installation #
dependencies:
flutter_icon_dialog: ^<latest_version>
💪 Usage #
1. text dialog #
Default for this widget is Text Alert.
![](https://github.com/GiYeongUM/flutter_icon_dialog/raw/main/images/custom_dialog_text.gif)
IconDialog.show(
context: context,
title: 'Alert',
content: 'Save successfully',
);
2. icon dialog #
Dialog can take advantage of icon title. The icon includes animation, and here are the icons that you can use.
![](https://github.com/GiYeongUM/flutter_icon_dialog/raw/main/images/custom_dialog_ios.gif)
![](https://github.com/GiYeongUM/flutter_icon_dialog/raw/main/images/custom_dialog_check.gif)
![](https://github.com/GiYeongUM/flutter_icon_dialog/raw/main/images/custom_dialog_bluetooth.gif)
IconDialog.show(
context: context,
title: "Check",
content: "This is Icon",
iconTitle: true
);
IconDialog.show(
context: context,
title: "Check",
content: "This is Icon",
iconTitle: true,
iconType: AlertIconType.check,
);
3. platform matched dialog #
Dialog works differently depending on the platform. Animation works differently depending on Android or iOS.
![](https://github.com/GiYeongUM/flutter_icon_dialog/raw/main/images/custom_dialog_android.gif)
![](https://github.com/GiYeongUM/flutter_icon_dialog/raw/main/images/custom_dialog_ios.gif)