BR
brianegan/github_search_angular_flutter
Demonstrates how to use the bloc pattern for both an Angular and Flutter app
github_search_angular_flutter
Demonstrates how to use the bloc pattern for both an Angular and Flutter app
Structure
- github_search_common - Code that is common to both the Angular App and Flutter app
- Contains the Data layer. For now, this means a simple in-memory cache and github web client, composed together via a Repository. In a bigger app, this might need to be split out more to handle things like SQLite storage for Flutter and IndexDB storage for Web projects
- Contains the search bloc, which depends on the Repository.
- Contains tests for all of this!
- flutter_app - Run it as you would a normal flutter app!
flutter runor via an Editor / IDE - angular_dart_app - Run it with
webdev serve- Still a bit rough, think AngularDart could use something like a generic
StreamBuildercomponent as the async pipe didn't quite provide all the functionality I was looking for.
- Still a bit rough, think AngularDart could use something like a generic
On this page
Languages
CSS81.4%Dart15.8%HTML2.0%Java0.3%Objective-C0.3%Shell0.2%
Contributors
Created August 22, 2018
Updated September 7, 2025