v3.0.1
scroll_when_needed
एक पैकेज जो हमें आवश्यकता के समय स्क्रॉल करने की अनुमति देता है और सही प्लेटफॉर्म-विशिष्ट व्यवहार के साथ।
21लाइक 21630-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
एक Flutter पैकेज जो हमें केवल आवश्यकता होने पर स्क्रॉल करने की अनुमति देता है।
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
This packages contains a custom scrollbehavior and scroll physics that can be used to have platform specific scrolling behaviour when there is not enough space in a scrollable widget
How to use this package:
ScrollConfiguration(
behavior: ScrollWhenNeededBehavior(),
child: ListView(
physics: ScrollWhenNeededPhysics(targetPlatform: Theme.of(context).platform),
children: [
Container(
height: 100,
color: Colors.amber,
),
TextField(),
Container(
height: 300,
color: Colors.amber,
),
],
),
),