Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tim-smart/flutter-emulators-screenshots-demo
- Owner: tim-smart
- Created: 2021-06-23T22:50:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-24T21:08:42.000Z (over 2 years ago)
- Last Synced: 2024-10-11T15:22:22.005Z (about 1 month ago)
- Language: Dart
- Size: 770 KB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.