v2.1.0top_modal_sheet
शुद्ध डार्ट में एक सरल शीर्ष मॉडल शीट कार्यान्वयन।
31लाइक 1.7 हज़ार30-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
एक सरल ऊपरी मॉडल शीट फ्लटर के लिए
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Simple modal sheet that appears from the top of the screen
Add top_modal_sheet: ^2.1.0 in your pubspec.yaml dependencies. And import it:
import 'package:top_modal_sheet/top_modal_sheet.dart';
Simply call showModalTopSheet to display it
MaterialButton(
color: Colors.white,
elevation: 5,
child: const Text("Show TopModal 1"),
onPressed: () async {
var value = await showTopModalSheet<String?>(context, DummyModal());
setState(() { _topModalData = value; });
},
)
For a more detail example please take a look at the example folder.
If something is missing, feel free to open a ticket or contribute!
निर्भरता सूची 3 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}^3.0.1उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗