v2.3.0statsfl
एक सरल FPS मॉनिटर फ्लटर के लिए। अपने एप्लिकेशन में प्रदर्शन समस्याओं का आसानी से निदान करने में मदद करता है।
130लाइक 6.8 हज़ार30-दिन डाउनलोड145Pub अंक
AndroidiOSWebmacOSWindowsLinux
Flutter के लिए एक सरल FPS मॉनिटर
{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री 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