Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/codingitwrong/flutter_xckd_app
- Owner: CodingItWrong
- Created: 2024-03-11T11:01:33.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-19T16:01:04.000Z (11 months ago)
- Last Synced: 2024-03-19T17:27:57.893Z (11 months ago)
- Topics: dart, flutter
- Language: Dart
- Homepage:
- Size: 295 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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