playbook_snapshot 0.3.0+1 copy "playbook_snapshot: ^0.3.0+1" to clipboard
playbook_snapshot: ^0.3.0+1 copied to clipboard

Playbook Snapshot package.

0.3.0+1 #

  • CHORE: fix playbook version.

0.3.0 #

  • FEAT: can load assets that are included in dependencies.
  • BREAKING CHANGE: upgrade sdk and flutter.

0.2.1 #

  • FIX: Support Scrollables have no ScrollController.

0.2.0 #

  • FEAT: Added support for defining fonts for playbook_snapshot in pubspec.yaml.

0.1.4 #

  • FIX: load multiple fonts (#58).

0.1.3 #

  • BREAKING CHANGE: SnapshotDevice change from enum to normal class.

0.1.2 #

  • FIX: find by the scenario widget to take snapshots.

0.1.1 #

  • FIX: reset app for each test.

0.1.0 #

  • BREAKING CHANGE: TestTool needs WidgetTester instance which is created on testWidget. And testWidgets only needs to be called once.
Future<void> main() async {
  testWidgets('Take snapshots', (tester) async {
    await Playbook(
      stories: [],
    ).run(
      Snapshot(
        directoryPath: 'screenshots',
        devices: [],
      ),
      tester, // Pass in the `WidgetTester` created by the `testWidget`.
      (widget) {
        return MaterialApp(
          home: Material(child: widget),
        );
      },
    );

    // If you want to run `TestTool` multiple times, run it inside the` testWidgets` closure.
  });
}

0.0.3 #

  • FEAT: can be stop resizing Scrollable.

0.0.2 #

  • BUILD: bump deps.

0.0.1 #

  • initial release.
0
likes
100
pub points
57%
popularity

Publisher

unverified uploader

Playbook Snapshot package.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_test, playbook, yaml

More

Packages that depend on playbook_snapshot