flutter_stetho
Android पर Flutter के लिए Chrome DevTools नेटवर्क इंस्पेक्टर
Android के Facebook Stetho टूल के साथ Flutter को एकीकृत करें
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A plugin that connects Flutter to the Chrome Dev Tools on Android devices via the Stetho Android Library.
The main feature I was aiming to achieve was a Network Inspector.
How can you too get this plugin up and running in your own app? Follow these steps.
Add flutter_stetho to your dependencies in the pubspec.yaml file
0.3.x0.4.x0.5.xNext, you'll need to install the Stetho.initialize() in the main() function of your app. This will enable Stetho and allow flutter_stetho to wrap all http calls and report information to the Chrome Dev Tools via the Stetho package from Facebook.
Note: It's probably a good idea only put this override in a main_dev.dart file.
void main() {
Stetho.initialize();
runApp(new MyApp());
}
flutter run
Pop open Chrome or Chromium, navigate to chrome://inspect
You should now see your App appear in the window.
flutter clean to remove old builds.निर्भरता सूची 1 आइटम
{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗