v2.3.0statsfl
एक सरल FPS मॉनिटर फ्लटर के लिए। अपने एप्लिकेशन में प्रदर्शन समस्याओं का आसानी से निदान करने में मदद करता है।
Flutter के लिए एक सरल FPS मॉनिटर
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
dependencies:
statsfl: ^2.2.0+1
import 'package:statsfl/statsfl.dart';
Just wrap your root view in the StatsFl widget:
StatsFl(child: MyApp());
There are a few additional options you can play with:
return StatsFl(
isEnabled: true, //Toggle on/off
width: 600, //Set size
height: 20, //
maxFps: 90, // Support custom FPS target (default is 60)
showText: true, // Hide text label
sampleTime: .5, //Interval between fps calculations, in seconds.
totalTime: 15, //Total length of timeline, in seconds.
align: Alignment.topLeft, //Alignment of statsbox
child: MyApp());
If you encounter any problems please open an issue. If you feel the library is missing a feature, please raise a ticket on Github and we'll look into it. Pull request are welcome.
MIT License
निर्भरता सूची 1 आइटम
{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗