v1.0.0+2
platform_alert_dialog
वर्तमान प्लेटफॉर्म के अनुकूलित चेतावनी डायलॉग बनाने के लिए Flutter प्लगइन।
17लाइक 430-दिन डाउनलोड40Pub अंक
प्लेटफ़ॉर्म डेटा नहीं
वर्तमान प्लेटफॉर्म के अनुकूलित चेतावनी डायलॉग बनाने के लिए Flutter प्लगइन।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Flutter plugin for build alert dialogs adapted to the current platform.
showDialog<void>(
context: context,
builder: (BuildContext context) {
return PlatformAlertDialog(
title: Text('Rewind and remember'),
content: SingleChildScrollView(
child: ListBody(
children: <Widget>[
Text('You will never be satisfied.'),
Text('You\’re like me. I’m never satisfied.'),
],
),
),
actions: <Widget>[
PlatformDialogAction(
child: Text('Cancel'),
onPressed: () {
Navigator.of(context).pop();
},
),
PlatformDialogAction(
child: Text('Regret'),
actionType: ActionType.Preferred,
onPressed: () {
Navigator.of(context).pop();
},
),
],
);
},
);
| Screenshot with theme Android | Screenshot with theme iOs |
|---|---|
![]() |
![]() |
निर्भरता सूची 2 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗