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

inspector कवर
पैकेज विवरणv4.0.0

inspector

विजेट्स की जांच करने के लिए एक Flutter पैकेज। त्वरित डिबगिंग या QA परीक्षण के लिए उपयोगी।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
5.1 लाख
लाइक
87
Pub अंक
150

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

flutter pub add inspector

पैकेज अवलोकन

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

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

उपयोग

  • त्वरित UI डीबगिंग
  • QA परीक्षण
  • रियल-टाइम विजेट विश्लेषण
  • विकास प्रतिपुष्टि लूप
  • क्रॉस-प्लेटफ़ॉर्म UI सत्यापन

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

  • इंटरैक्टिव विजेट ओवरले
  • लाइव प्रॉपर्टी जांच
  • सभी फ्लटर प्लेटफॉर्म को समर्थन करता है
  • आवश्यक सेटअप न्यूनतम
  • गैर-विकासकर्मियों के लिए सहज उपयोगकर्ता इंटरफेस

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

  • Developers
  • QA परीक्षणकर्ता
  • UI ഡिज़ाइनर्स
  • रैपिड प्रोटोटाइप टीम

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

  • उत्पादन बिल्ड्स के लिए नहीं बनाया गया है
  • बड़े ऐप में प्रदर्शन पर प्रभाव पड़ सकता है
  • ओवरले टेस्टिंग के दौरान यूआई को प्रभावित कर सकता है
  • हस्तक्षेप द्वारा सक्षम करने की आवश्यकता है
  • केवल दृश्य निरीक्षण तक सीमित

मूल README

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

inspector

Pub Version GitHub Workflow Status Coverage Status GitHub Repo stars

A Flutter package for inspecting widgets. Also comes with an eyedropper and a magnifying glass. Useful for debugging widgets and for QA testing.

Supports keyboard shortcuts if you're using a physical keyboard.

Check out the example web app!

Inspired by inspx.

WIP

Warning, the development of this package is still in progress and some things may break your app.

Features

  • [x] Color picker
  • [x] Size inspection
  • [x] Padding inspection
  • [x] Keyboard shortcuts
  • [x] Zooming
  • [ ] BorderRadius inspection
  • [x] TextStyle inspection

Installing

Add the dependency:

$ flutter pub add inspector

Import the package:

import 'package:inspector/inspector.dart';

Wrap MaterialApp.builder or WidgetsApp.builder with Inspector:

MaterialApp(
  home: ExampleApp(),
  builder: (context, child) => Inspector(child: child!), // Wrap [child] with [Inspector]
),

Optionally, you can pass isEnabled to the Inspector to disable it. By default, the inspector is disabled when kReleaseMode == true.

Usage

If the inspector is enabled, then a panel appears on the right side of the screen, with buttons to toggle size inspection and the color picker.

It's quite straightforward to use, just tap on the widget that you want to measure or tap on the pixel to get its color.

You can also use keyboard shortcuts - Shift will toggle the color picker, Z will toggle the zoom, and Alt or Cmd will toggle the widget inspector.

Examples

Contact me

Feel free to contact me at:

E-mail: kk.erzhan@gmail.com

श्रेणियाँ

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

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