v2.0.0
flutter_swipe_detector
एक पैकेज जो आपकी स्वाइप दिशाओं का पता लगाता है और उन्हें संभालने के लिए कॉलबैक प्रदान करता है।
61लाइक 3.7 हज़ार30-दिन डाउनलोड140Pub अंक
AndroidiOSWebmacOSWindowsLinux
एक फ्लटर पैकेज जो आपके स्वाइप दिशाओं का पता लगाता है और उन्हें संभालने के लिए आपको कॉलबैक प्रदान करता है।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A package to detect your swipe directions and provides you with callbacks to handle them.
SwipeDetector(
onSwipe: (direction, offset) {
_addSwipe(direction);
},
onSwipeUp: (offset) {
_addSwipe(SwipeDirection.up);
},
onSwipeDown: (offset) {
_addSwipe(SwipeDirection.down);
},
onSwipeLeft: (offset) {
_addSwipe(SwipeDirection.left);
},
onSwipeRight: (offset) {
_addSwipe(SwipeDirection.right);
},
child: const Container(
padding: EdgeInsets.all(16),
child: Text(
'Swipe me!',
style: TextStyle(
fontWeight: FontWeight.bold,
),
),
),
),
निर्भरता सूची 3 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗