A Flutter library to catch fps.
In your flutter project add the dependency:
dependencies:
...
flutter_fps: ^0.1.0
import 'package:flutter_fps/flutter_fps.dart';
Fps.instance.start();
Fps.instance.addFpsCallback((fpsInfo) {
print(fpsInfo);
});