Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tim-smart/flutter-emulators-screenshots-demo

A demo project for using `emulators` to generate screenshots for a Flutter project
https://github.com/tim-smart/flutter-emulators-screenshots-demo

Last synced: 14 days ago
JSON representation

A demo project for using `emulators` to generate screenshots for a Flutter project

Awesome Lists containing this project

README

        

# emulators_demo

A demo project for using the `emulators` package to generate screenshots.

## Usage

1. Make sure you have xcode and Android Studio setup correctly. `flutter doctor`
should report no issues.
2. Setup flutter project as usual (`flutter pub get` etc).
3. Run `dart tools/screenshots.dart`.

This will update the images in the `screenshots/` directory.

## Files of interest

This example is generated from `flutter create` with no modifications.

The following files were added to make the screenshot generation work:

- `emulators`, `test` and `flutter_driver` dependencies were added to `pubspec.yaml`.
- The `test_driver` directory was added.
- The `tools` directory was added.