perfect_flutter library

perfect_flutter — DevTools-based pixel-perfect overlay for Flutter.

Add perfect_flutter to dev_dependencies and add a single import of this library somewhere in your app (commonly at the top of main.dart):

import 'package:perfect_flutter/perfect_flutter.dart';

The import has no runtime effect — it only ensures the helper class below is linked into the debug build so the DevTools panel can call it via the VM service. In release builds, tree-shaking removes everything.

Classes

PerfectFlutter
Internal helper called by the DevTools panel through evaluate. Not intended to be called from app code.