8000 GitHub - mkgor/flutter_fps: flutter Fps的两种监听方案
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mkgor/flutter_fps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

performance_fps

Flutter plugin for calculate fps online on Android and IOS, its result is the same as flutter performance

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Installation

dependencies:
  performance_fps: ^0.0.6

Import

import 'package:performance_fps/performance_fps.dart';

Usage

https://pub.dev/packages/performance_fps

Fps.instance.registerCallBack((fps, dropCount) {
      // current fps
    });
    
Fps.instance.cancel();

License

MIT License

About

flutter Fps的两种监听方案

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 61.5%
  • Ruby 16.9%
  • Java 11.4%
  • Objective-C 10.2%
0