v2.0.0scaled_list
बहुत सारे संशोधन के साथ एक क्षैतिज सूची दृश्य, जिसमें वर्तमान आइटम को स्केल करना और वक्र अनुकूल चित्रण शामिल है।
140लाइक 9330-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
एक कई संशोधन वाला क्षैतिज सूची दृश्य, जिसमें वर्तमान आइटम के स्केलिंग, वक्र अस्तर चित्रण और उसके नीचे बिंदु सूचक हैं।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A Horizontal List view With Lots of modification including a scaled current item.
@override
Widget build(BuildContext context) {
return Scaffold(
body: ScaledList(
itemCount: Data.categories.length,
itemColor: (index) {
return kMixedColors[index % kMixedColors.length];
},
itemBuilder: (index, selectedIndex) {
final category = Data.categories[index];
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
height: selectedIndex == index
? 100
: 80,
child: Image.asset(category.image),
),
SizedBox(height: 15),
Text(
category.name,
style: TextStyle(
color: Colors.white,
fontSize: selectedIndex == index
? 25
: 20),
)
],
);
},
),
);
}
निर्भरता सूची 2 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗