thedejifab/rich_alert
"rich" के लिए एक चेतावनी डायलॉग पैकेज। इस पैकेज की मदद से आप अपने Flutter ऐप में असामान्य चेतावनी डायलॉग को रेंडर कर सकते हैं 😃
- Stars
- 51
- Forks
- 13
- अंतिम पुश (UTC)
- 2 जून 2023
- प्रोजेक्ट स्थिति
- सक्रिय
भाषाएँDartObjective-CJava
उपयोग की गई निर्भरताएँ
निर्भरता सूची 3 आइटम
- flutter
{"sdk":"flutter"} - cupertino_icons
^1.0.5 - flutter_testडेवलपमेंट
{"sdk":"flutter"}
मूल README
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
README खोलें / बंद करें
rich_alert
An alert dialog package for the "rich". This package helps you to render an un-traditional alert dialog in your Flutter app :smiley:
Support
This package supports usage on both Android and iOS builds.
Adding to your flutter project
Add rich_alert as a dependency in your pubspec.yaml file
rich_alert: ^0.1.32
Use the package
Import the library in your dart file
import 'package:rich_alert/rich_alert.dart';
Example
showDialog(
context: context,
builder: (BuildContext context) {
return RichAlertDialog( //uses the custom alert dialog
alertTitle: richTitle("Alert title"),
alertSubtitle: richSubtitle("Subtitle"),
alertType: RichAlertType.WARNING,
);
}
);
Check examples
Screenshots
https://raw.githubusercontent.com/thedejifab/rich_alert/master/screenshots/success.png https://raw.githubusercontent.com/thedejifab/rich_alert/master/screenshots/warning.png