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.5

Import

import 'package:performance_fps/performance_fps.dart';

Usage

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

License

MIT License

Libraries

binding_fps
debug_log
fps_callback
fps_computer
fps_plugin
performance_fps
do what @author yulun @since 2020-07-23 15:59