flutter3d_testing 0.5.2
flutter3d_testing: ^0.5.2 copied to clipboard
Renders a flutter3d scene with no GPU and compares it against a reference image, so a game gets pixel regression tests on a machine with no display.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter3d_testingThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter3d_testing: ^0.5.2Alternatively, 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:flutter3d_testing/flutter3d_testing.dart';