GithubHelp home page GithubHelp logo

bizz84 / github_search_flutter_client_rxdart_example Goto Github PK

View Code? Open in Web Editor NEW
41.0 4.0 25.0 453 KB

Example GitHub Search app built in Flutter & RxDart

Home Page: https://codewithandrea.com/

License: MIT License

Kotlin 0.57% Swift 4.84% Objective-C 0.13% Dart 80.73% HTML 4.22% Ruby 9.50%

github_search_flutter_client_rxdart_example's Introduction

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:

github_search_flutter_client_rxdart_example's People

Contributors

bizz84 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.