FLUTTER ECOSYSTEM

gskinnerTeam/flutter-stats-fl

Flutter के लिए एक सरल FPS मॉनिटर

flutter-stats-fl प्रोजेक्ट कवर
Stars
74
Forks
5
अंतिम पुश (UTC)
18 अप्रैल 2024
प्रोजेक्ट स्थिति
सक्रिय
gskinner team GitHub avatar
GITHUB Organization

gskinner team ↗

We collaborate with smart, motivated clients to conceptualize, design, and build world-class interactive experiences.

भाषाएँC++CMakeDartHTMLCSwiftKotlinObjective-C

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 1 आइटम
  • flutter{"sdk":"flutter"}

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

statsfl - A simple FPS monitor for Flutter

https://screens.gskinner.com/shawn/chrome_2020-04-12_22-11-09.png

🔨 Installation

dependencies:
  statsfl: ^2.2.0+1
⚙ Import
import 'package:statsfl/statsfl.dart';

🕹️ Usage

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());

🐞 Bugs/Requests

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.

📃 License

MIT License