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

circular_clip_route कवर
पैकेज विवरणv0.2.0+3

circular_clip_route

एक पृष्ठ मार्ग, जो एक अंक के आधार पर एक गोलाकार क्लिप को फैलाकर अपना पृष्ठ दिखाता है।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
20
लाइक
131
Pub अंक
160

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

flutter pub add circular_clip_route

पैकेज अवलोकन

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

CircularClipRoute एक Flutter पैकेज है जो एक निर्दिष्ट एंकर विजेट से एक बढ़ते गोलाकार क्लिप के माध्यम से एक नई स्क्रीन को उजागर करके चिकने, एनिमेटेड पेज ट्रांजिशन की अनुमति देता है। इससे लहर या ज़ूम-इन एनिमेशन के समान दृश्य प्रभाव बनते हैं, जो नेविगेशन में उपयोगकर्ता अनुभव को बढ़ाते हैं। यह ऐप्स के लिए आदर्श है जहां सूक्ष्म, गतिशील ट्रांजिशन इंटरफ़ेस प्रवाह और दृश्य आकर्षण को बेहतर बनाते हैं। यह रूट सभी प्रमुख प्लेटफॉर्म जैसे Android, iOS, Web, macOS, Windows और Linux पर काम करता है, जिससे संगत व्यवहार सुनिश्चित होता है। इसे Dart में बनाया गया है, और यह मौजूदा Flutter प्रोजेक्ट में आसानी से एकीकृत हो सकता है।

उपयोग

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

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

  • सर्कुलर एक्सपेंशन एनिमेशन
  • कस्टमाइज़ किए गए एंकर विजेट
  • क्रॉस-प्लेटफॉर्म संगतता
  • स्मूथ ट्रांजिशन प्रभाव
  • Navigator के साथ आसान एकीकरण

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

  • आकर्षक ट्रांजिशन की तलाश में ऐप विकासकर्ता
  • माइक्रो-इंटरैक्शन पर ध्यान केंद्रित डिज़ाइनर
  • इंटरैक्टिव UI तत्वों वाले प्रोजेक्ट्स
  • मोबाइल और वेब एप्लिकेशन
  • दृश्य कथा-केंद्रित एप्लिकेशन

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

  • कम शक्तिशाली उपकरणों पर प्रदर्शन प्रभावित हो सकता है
  • एंकर विजेट के सही स्थान पर रखने की आवश्यकता होती है
  • सरल, त्वरित नेविगेशन के लिए उपयुक्त नहीं
  • मूल आपातकालीन प्राथमिकता के अलावा सीमित कस्टमाइजेशन
  • ध्यान भटकाव को रोकने के लिए सीमित उपयोग करें

मूल README

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

pub.dev package page GitHub Stars

A page route, which reveals its page by expanding a circular clip from an anchor widget.


If you're looking for a database solution, check out cbl, another project of mine. It brings Couchbase Lite to standalone Dart and Flutter, with support for:

  • Full-Text Search,
  • Expressive Queries,
  • Data Sync,
  • Change Notifications

and more.


Getting started

To use the CircularClipRoute, provide it the context from which the animation should expand and push it onto the navigation stack. One way to get the right context is to use a Builder, which wraps the widget from which the route should expand:

final navigationTrigger = Builder(
    builder: (context) {
      return IconButton(
          icon: Icon(Icons.favorite),
          onPressed: () {
            Navigator.push(context, CircularClipRoute<void>(
              // This context will be used to determine the location and size of
              // the expanding clip. Here this will resolve to the `IconButton`.
              expandFrom: context,
              builder: (_) => MyRoute(),
            ));
          }
      );
    }
);

Also, take a look at the API docs for customizing the animation.

Example

The example implements the demo at the top.

References

Inspired by this shot.

This drawing visualizes the geometry involved in creating the route transition:

Illustration of the geometry of the transition

The Anchored Custom Routes article explains how to implement routes, that are anchored to a widget, generally.


Gabriel Terwesten • GitHub @blaugold • Twitter @GTerwesten • Medium @gabriel.terwesten

श्रेणियाँ

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

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

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