Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/codingitwrong/flutter_xckd_app

The "XKCD" app exercise from the book Programming Flutter
https://github.com/codingitwrong/flutter_xckd_app

dart flutter

Last synced: 21 days ago
JSON representation

The "XKCD" app exercise from the book Programming Flutter

Awesome Lists containing this project

README

        

# xckd_app

The "XKCD" app exercise from the book [*Programming Flutter*](https://pragprog.com/titles/czflutr/programming-flutter/) (with a fun typo in the app name!)

There have been several significant updates in the Flutter ecosystem since the book was published:

- Introduction of null safety
- Update to mocking approach to handle null safety

## Requirements

Recommended Flutter development environment:

- VS Code
- [Flutter extension](https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter) for VS Code

## Running

Run `main.dart` from within VS Code.

## Testing

### Unit Tests

- Run `flutter test`
- Or, from within `test/unit_test.dart`, run an individual test in VS Code

### Integration Tests

Note that integration tests make real network requests instead of mocking.

Run `flutter drive --target=test_driver/selectionpage.dart`

## License

MIT