bizz84 / github_search_flutter_client_rxdart_example

Example GitHub Search app built in Flutter & RxDart

Home Page:https://codewithandrea.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example GitHub Search app built in Flutter & RxDart

Simple app using the Flutter SearchDelegate class to show a list of users matching the input search query:

The app uses switchMap & debounce from RxDart for a good user experience, without putting too much load on the server, or compromising bandwidth and battery life on the client.

Simple architecture diagram:

  • GitHubSearchAPIWrapper: pulls the data from the GitHub REST API
  • GitHubSearchResult: contains the API response data
  • GitHubSearchDelegate: shows the search UI with a grid of results
  • GitHubSearchService: holds the logic for wiring up the API wrapper with the UI

Written tutorial here

Credits

This tutorial was heavily inspired by this talk by Brian Egan & Filip Hracek at ReactiveConf 2018:

LICENSE: MIT

About

Example GitHub Search app built in Flutter & RxDart

https://codewithandrea.com/

License:MIT License


Languages

Language:Dart 80.7%Language:Ruby 9.5%Language:Swift 4.8%Language:HTML 4.2%Language:Kotlin 0.6%Language:Objective-C 0.1%