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

full_screen_image_null_safe कवर
पैकेज विवरणv2.0.0

full_screen_image_null_safe

पूर्ण-स्क्रीन फोटो व्यूअर। ऊर्ध्वाधर स्क्रॉल करने पर बंद हो जाता है। हीरो विजेट के साथ काम कर सकता है।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
842
लाइक
43
Pub अंक
130

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

flutter pub add full_screen_image_null_safe

पैकेज अवलोकन

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

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

उपयोग

  • पूर्ण स्क्रीन में उच्च रिज़ॉल्यूशन छवियों को देखें
  • सुचारू संक्रमण के साथ छवि गैलरी बनाना
  • छवि साझाकरण के लिए हीरो एनीमेशन के साथ एकीकरण
  • मोबाइल और वेब पर फोटो ब्राउज़िंग में सुधार करना
  • स्वाइप-टू-डिसमिस व्यवहार कार्यान्वयन करना
  • पूर्ण स्क्रीन मोडल में छवियाँ प्रदर्शित करना

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

  • ऊर्ध्वाधर स्क्रॉल पर स्वतः अद्यतन
  • नॉल-सेफ डार्ट इम्प्लीमेंटेशन
  • Hero widget सामर्थ्य
  • क्रॉस-प्लेटफॉर्म समर्थन (Android, iOS, Web, macOS, Windows, Linux)
  • गति-आधारित नेविगेशन
  • हल्का और एकीकरण में आसान

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

  • मोबाइल और वेब फ़ोटो गैलरी ऐप्स
  • चित्र-भारी एप्लिकेशन
  • हीरो ट्रांजिशन का उपयोग करने वाले ऐप्स
  • सरल पूर्ण-स्क्रीन छवि दर्शक चाहने वाले विकासकर्ता
  • प्लेटफॉर्म-अनागत छवि प्रदर्शन की आवश्यकता वाले प्रोजेक्ट
  • सरल छवि नेविगेशन चाहने वाले उपयोगकर्ता

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

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

मूल README

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

Full Screen image

Full screen photo viewer. It shuts off when scrolling vertically. Can work with Hero widget

Installation

To use this plugin, add full_screen_image_null_safe as a dependency in your pubspec.yaml file.

full_screen_image_null_safe: any

Getting Started

Check out the example app using full_screen_image.

Flutter

Full screen image:
  FullScreenWidget(
        child: ClipRRect(
          borderRadius: BorderRadius.circular(16),
          child: Image.asset(
            "assets/image1.jpg",
            fit: BoxFit.cover,
          ),
        ),
      )

Full screen with hero:
FullScreenWidget(
        child: Hero(
          tag: "customTag",
          child: ClipRRect(
            borderRadius: BorderRadius.circular(16),
            child: Image.asset(
              "assets/image2.jpg",
              fit: BoxFit.cover,
            ),
          ),
        ),
      );

Small image:

if you don't want widget full screen then use center widget

 FullScreenWidget(
        child: Center(
          child: Hero(
            tag: "smallImage",
            child: ClipRRect(
              borderRadius: BorderRadius.circular(16),
              child: Image.asset(
                "assets/image3.jpg",
                fit: BoxFit.cover,
              ),
            ),
          ),
        ),
      );
Custom background color:
FullScreenWidget(
        backgroundColor: Colors.purple,
        child: Center(
          child: Hero(
            tag: "customBackground",
            child: ClipRRect(
              borderRadius: BorderRadius.circular(16),
              child: Image.asset(
                "assets/image3.jpg",
                fit: BoxFit.cover,
              ),
            ),
          ),
        ),
      );

Non transparent widget:
FullScreenWidget(
        backgroundColor: Colors.purple,
        backgroundIsTransparent: false,
        child: Center(
          child: Hero(
            tag: "nonTransparent",
            child: ClipRRect(
              borderRadius: BorderRadius.circular(16),
              child: Image.asset(
                "assets/image3.jpg",
                fit: BoxFit.cover,
              ),
            ),
          ),
        ),
      );

Custom widget:
  FullScreenWidget(
        child: SafeArea(
          child: Card(
            elevation: 4,
            child: Container(
              height: 350,
              padding: const EdgeInsets.all(8.0),
              child: Column(
                children: <Widget>[
                  Hero(
                    tag: "customWidget",
                    child: ClipRRect(
                      borderRadius: BorderRadius.circular(16),
                      child: Image.asset(
                        "assets/image3.jpg",
                        fit: BoxFit.cover,
                      ),
                    ),
                  ),
                  SizedBox(
                    height: 16,
                  ),
                  Text('Lorem text',style: TextStyle(color: Colors.black,fontWeight: FontWeight.bold),),
                  SizedBox(
                    height: 16,
                  ),
                  Expanded(
                    child: Text(
                      lorem,
                    ),
                  ),

                ],
              ),
            ),
          ),
        ),
      );

License

Apache

श्रेणियाँ

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

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

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