layout_tester 0.1.0
layout_tester: ^0.1.0 copied to clipboard
This helper package provides an easy interface for layout and widget composition testing.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add layout_tester
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
layout_tester: ^0.1.0
copied to clipboard
Alternatively, 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:layout_tester/layout_tester.dart';
copied to clipboard