overflow_guard 0.2.1
overflow_guard: ^0.2.1 copied to clipboard
Catch RenderFlex overflow across many device sizes and text scales at once, in widget tests / CI or live at runtime. Reports exactly where each screen overflows.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add overflow_guardThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
overflow_guard: ^0.2.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:overflow_guard/overflow_guard.dart';