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

horizontal_card_pager कवर
पैकेज विवरणv1.1.1

horizontal_card_pager

गतिशील और सुंदर कार्ड व्यू पेजर (क्षैतिज दिशा) का उपयोग करके आप शानदार एप्लिकेशन बनाने में मदद करें।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
183
लाइक
173
Pub अंक
140

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

flutter pub add horizontal_card_pager

पैकेज अवलोकन

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

एक डायनामिक, दृश्यात्मक रूप से आकर्षक क्षैतिज कार्ड पेजर बनाने के लिए एक Flutter पैकेज। यह क्षैतिज व्यवस्था में चिकनी, अंतरक्रियात्मक कार्ड संक्रमण को सक्षम करता है, जो छवियों, कार्ड या उत्पाद सूचियों को प्रदर्शित करने के लिए आदर्श है। पेजर के कस्टमाइज़ेबल एनीमेशन और कई प्लेटफॉर्मों पर रिस्पॉन्सिव डिज़ाइन का समर्थन करता है। आधुनिक अस्तित्व के साथ आकर्षक, स्वाइप करने योग्य कार्ड इंटरफ़ेस की आवश्यकता वाले ऐप्स के लिए आदर्श।

उपयोग

  • स्वाइप करने योग्य उत्पाद कैरोसेल
  • इमेज गैलरी
  • इंटरैक्टिव कंटेंट स्लाइडर
  • ऑनबोर्डिंग स्क्रीन्स
  • फीचर हाइलाइट खंड
  • उपयोगकर्ता प्रोफाइल प्रदर्शन

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

  • क्षैतिज कार्ड नेविगेशन
  • चिकनी एनिमेशन ट्रांजिशन
  • कस्टमाइज़ किए गए कार्ड स्टाइलिंग
  • प्रतिक्रियाशील डिज़ाइन समर्थन
  • प्लेटफॉर्म के अनुकूलता
  • डायनामिक कंटेंट लोडिंग

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

  • मोबाइल ऐप विकासकर्ता
  • UI/UX डिजाइनर
  • ई-कॉमर्स एप्लिकेशन्स
  • सामग्री समृद्ध ऐप्स
  • इंटरैक्टिव प्रोटोटाइप

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

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

मूल README

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

Use dynamic and beautiful card view pagers (horizontal direction) to help you create great apps.

Preview

Mobile
Web

Installing

  1. Add dependency to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dartlang.org

dependencies:
    horizontal_card_pager: ^1.1.1
  1. Import the package
import 'package:horizontal_card_pager/horizontal_card_pager.dart';
import 'package:horizontal_card_pager/card_item.dart';
  1. Adding HorizontalCardPager

With optional parameters

HorizontalCardPager(
    initialPage : 2 // default value is 2
    onPageChanged: (page) => print("page : $page"),
    onSelectedItem: (page) => print("selected : $page"),
    items: { ... },  // set ImageCardItem or IconTitleCardItem class
))
  1. Put CardItem object in items parameter in HorizontalCardPager

If the contents of the card contain only images, use the ImageCardItem class. and If the contents of the card include an icon and a title, use the IconTitleCardItem class.

Image Icon & Text
imagetype icontitletype
ImageCardItem

class ImageCarditem extends CardItem {
  final Widget image;

  ImageCarditem({this.image});
}
IconTitleCardItem
class IconTitleCardItem extends CardItem {
  final IconData iconData;
  final String text;
  final Color selectedBgColor;
  final Color noSelectedBgColor;
  final Color selectedIconTextColor;
  final Color noSelectedIconTextColor;

  IconTitleCardItem(
      {this.iconData,
      this.text,
      this.selectedIconTextColor = Colors.white,
      this.noSelectedIconTextColor = Colors.grey,
      this.selectedBgColor = Colors.blue,
      this.noSelectedBgColor = Colors.white});
}

How to use

Check out the example app in the example directory or the 'Example' tab on pub.dartlang.org for a more complete example.

Reference

This package's animation is inspired from from this Dribbble art.

TODO

  • [x] Attach Gesture Detector
  • [x] implement call back method
  • [x] Enable to customize card design
    • [x] icon & title
    • [x] image only
  • [x] Implements sample app
  • [x] Publish plugin

श्रेणियाँ

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

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

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