पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

expandable_group कवर
पैकेज विवरणv0.0.8

expandable_group

एक नया Flutter विजेट उपयोगकर्ता के लिए विस्तारित और संक्षिप्त सूची समर्थित करता है।

30-दिन डाउनलोड
69
लाइक
7
Pub अंक
70

पैकेज इंस्टॉल करें

flutter pub add expandable_group

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

expandable_group पैकेज एक फ्लटर विजेट प्रदान करता है जो उपयोगकर्ताओं को संकुचित और विस्तार्य खंडों के साथ सूचियां बनाने की अनुमति देता है। यह डायनामिक रूप से सामग्री को प्रकट या छिपाने वाले इंटरैक्टिव लिस्ट आइटम के कार्यान्वयन को सरल बनाता है, जिससे डेटा-भारी इंटरफ़ेस में उपयोगकर्ता अनुभव में सुधार होता है। एफ़क्यूए, सेटिंग मेनू या किसी भी तर्कसंगत समूह में व्यवस्थित सामग्री के लिए उपयुक्त, यह चिकनी एनीमेशन और आसान कस्टमाइज़ेशन का समर्थन करता है। पैकेज हल्का है और मौजूदा फ्लटर परियोजनाओं में आसानी से एकीकृत होता है।

उपयोग

  • अक्सर पूछे जाने वाले प्रश्न अनुभाग
  • सेटिंग्स पैनल
  • गतिशील सामग्री सूचियाँ
  • संक्षिप्त नेविगेशन
  • डेटा समूहीकरण

मुख्य विशेषताएँ

  • स्मूथ एक्सपेंड/कॉलेप्स के एनीमेशन
  • कस्टमाइज़ किए गए हेडर और सामग्री
  • ListView के साथ आसान एकीकरण
  • नेस्टेड समूहों का समर्थन करता है
  • हल्का और कार्यक्षम

इनके लिए उपयुक्त

  • इंटरैक्टिव लिस्ट बनाने वाले डेवलपर्स
  • हायरार्किकल डेटा वाले ऐप्स
  • गतिशील सामग्री परिवर्तन की आवश्यकता वाले UI
  • Flutter विजेट्स सीखने वाले शुरुआती लोग
  • स्वच्छ, पुनः उपयोगी घटकों की आवश्यकता वाले परियोजनाएँ

विचार योग्य बातें

  • सीमित प्लेटफॉर्म-विशिष्ट स्टाइल विकल्प
  • कीबोर्ड नेविगेशन के लिए कोई आंतरिक समर्थन नहीं है
  • जटिल उपयोग के मामलों में अतिरिक्त अवस्था प्रबंधन की आवश्यकता हो सकती है
  • बड़े डेटासेट के बिना पृष्ठांतरण के लिए अनअनुकूलित

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

ExpandableGroup

A new Flutter widget support expanded and collapsed group items in the list of Flutter application. It supports Android, iOS, Web and Desktop.

Build expandable group widget support expanded and collapsed group data.

Features

  • Expand and collapse header in the List
  • Support customise header and item in the list
  • Single ListView

Getting Started

1. Add dependency to your project's pubspec.yaml and run pub get
dependencies:
  expandable_group: ^0.0.6
2. Import expandable_group_widget.dart to your file project where is going to use the ListExpandableWidget.
import 'package:expandable_group/expandable_group_widget.dart';
3. The ExpandableGroup has some properties as below
3.1 Required
  • header the header widget and will display in the list
  • items the list of ListTile will display for each group
3.2 Optional
  • isExpanded is a boolean to expand or collapse header. isExpanded == true is the header will be expanded and otherwise. The default value is false.
  • expandedIcon and collapsedIcon are the widgets for expanded and collapsed state.
  • headerEdgeInsets the EdgeInsets of header widget
  • headerBackgroundColor can customise header background color
4. Examples
ExpandableGroup(
    isExpanded: index == 0,
    header: _header('Group $index'),
    items: _buildItems(context, group),
    headerEdgeInsets: EdgeInsets.only(left: 16.0, right: 16.0)
)

Submit bugs or request features

Please file feature requests and bugs with GitHub issues tab

श्रेणियाँ

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।