v0.1.2
pandapie
पैंडास के लिए एक शानदार पाई चार्ट। पंडापाई नए न्यूमोर्फिक डिज़ाइन ट्रेंड के लिए डिज़ाइन की गई है।
16लाइक 830-दिन डाउनलोड35Pub अंक
प्लेटफ़ॉर्म डेटा नहीं
pandas के लिए एक शानदार पाई चार्ट।
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Pub
A fancy pie chart for pandas. Pandapie designed for new neumorphic design trend.
| Preview | PageView |
|---|---|
| Preview Png | Preview Gif |
size - size of chartselectedKey - selected keyid - the id of this itemvalue - the value of this itemAdd the dependency in pubspec.yaml:
dependencies:
...
pandapie: ^0.1.2
class Home extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xFF202327),
body: Center(
child: PandaPie(
selectedKey: '3',
data: [
PandaPieData(
key: '1',
value: 50,
),
PandaPieData(
key: '2',
value: 50,
),
PandaPieData(
key: '3',
value: 30,
),
],
),
),
);
}
}