v0.1.0scroll_snap_effect
एक फ्लटर पैकेज आसान स्क्रॉल स्नैप प्रभाव बनाने के लिए
26लाइक 2030-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
ListView में आसान एनीमेशन स्क्रॉल स्नैप प्रभाव बनाने के लिए एक Flutter पैकेज
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
flutter paypal
A Flutter package to create easy animation scroll snap effect in ListView
// Example itemSize
// itemSize = child width (ex: 100) + child padding (ex: 16);
// itemSize = 116
ScrollSnapEffect(
itemSize: 116,
itemCount: 15,
padding: const EdgeInsets.symmetric(horizontal: 20),
onChanged: (index) {
debugPrint('$index');
},
itemBuilder: (context, index) {
return Padding(
padding: const EdgeInsets.only(right: 16),
child: SizedBox(
height: 100,
width: 100,
child: ColoredBox(
color: Colors.blue,
child: Center(
child: Text(
'$index',
style: const TextStyle(
color: Colors.white,
fontSize: 20,
),
),
),
),
),
);
},
),
account avatar
Farhan Fadila
📫 How to reach me: farhan.fadila1717@gmail.com