v1.6.3vertical_card_pager
गतिशील और सुंदर कार्ड दृश्य पेजर का उपयोग करके आप शानदार ऐप बना सकते हैं।
गतिशील और सुंदर कार्ड दृश्य पेजर का उपयोग करके आप शानदार ऐप बना सकते हैं।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Use dynamic and beautiful card view pagers to help you create great apps.
| Left | Center(Default) | Right |
|---|---|---|
![]() |
![]() |
![]() |
Add dependency to pubspec.yaml
Get the latest version in the 'Installing' tab on pub.dartlang.org
dependencies:
vertical_card_pager: ^1.6.0
import 'package:vertical_card_pager/vertical_card_pager.dart';
VerticalCardPagerWith optional parameters
@override
Widget build(BuildContext context) {
final List<String> titles = ["RED", "YELLOW", "BLACK", "CYAN", "BLUE", "GREY", ];
final List<Widget> images = [
Container(
color: Colors.red,
),
Container(
color: Colors.yellow,
),
Container(
color: Colors.black,
),
Container(
color: Colors.cyan,
),
Container(
color: Colors.blue,
),
Container(
color: Colors.grey,
),
];
return Scaffold(
body: SafeArea(
child: Column(
children: <Widget>[
Expanded(
child: Container(
child: VerticalCardPager(
titles: titles, // required
images: images, // required
textStyle: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), // optional
onPageChanged: (page) { // optional
},
onSelectedItem: (index) { // optional
},
initialPage: 0, // optional
align : ALIGN.CENTER, // optional
physics : ClampingScrollPhysics() // optional
),
),
),
],
),
),
);
}
Check out the example app in the example directory or the 'Example' tab on pub.dartlang.org for a more complete example.
https://origogi.github.io/Vertical_Card_Pager/#/
This package's animation is inspired from from this Dribbble art.
निर्भरता सूची 2 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗