flutter_dev_panel_performance 0.0.2 copy "flutter_dev_panel_performance: ^0.0.2" to clipboard
flutter_dev_panel_performance: ^0.0.2 copied to clipboard

Performance monitoring module for Flutter Dev Panel

Flutter Dev Panel - Performance Module #

pub package License: MIT Flutter

Performance monitoring module for Flutter Dev Panel that provides real-time FPS tracking, memory monitoring, and performance visualization.

Features #

  • FPS tracking - Real-time frames per second monitoring
  • Memory usage - Track app memory consumption
  • Jank detection - Identify and highlight frame drops
  • Live charts - Real-time performance graphs
  • Performance history - Historical data with charts
  • FAB display - Shows FPS, memory usage, and jank warnings

Installation #

dependencies:
  flutter_dev_panel_performance:
    path: ../packages/flutter_dev_panel_performance

Usage #

import 'package:flutter_dev_panel/flutter_dev_panel.dart';
import 'package:flutter_dev_panel_performance/flutter_dev_panel_performance.dart';

void main() {
  // Initialize with performance module
  FlutterDevPanel.initialize(
    modules: [PerformanceModule()],
  );
  
  runApp(MyApp());
}

// Access performance data
final controller = PerformanceMonitorController.instance;
controller.startMonitoring();

// Get current metrics
final currentFPS = controller.currentFPS;
final memoryUsage = controller.memoryUsageMB;
final isJanky = controller.isJanky;

// Listen to updates
controller.addListener(() {
  print('FPS: ${controller.currentFPS}');
  print('Memory: ${controller.memoryUsageMB} MB');
});

License #

This project is licensed under the MIT License - see the LICENSE file for details.

1
likes
120
points
486
downloads

Publisher

unverified uploader

Weekly Downloads

Performance monitoring module for Flutter Dev Panel

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

fl_chart, flutter, flutter_dev_panel, provider

More

Packages that depend on flutter_dev_panel_performance