~/talk

How to write a Flutter desktop application

Talkat Google I/O 2022 · 2022-05-11..05-12· [flutter]
slides:none on file

Builds a Flutter desktop app that uses GitHub APIs to list repositories, issues and pull requests, implements OAuth2 with a local redirect server and browser auth, and generates a type‑safe client. Uses pub packages http oauth2 url_launcher and the unofficial GitHub package to fetch the current user and pull requests (shows many live PRs for the flutter/flutter repo). Adds a custom window_to_front plugin with native Swift code to activate the app window after login. Everything is implemented end‑to‑end and demonstrated working.

AI-written summary · about

  1. 0:00Start
  2. 0:54Get the Flutter Boilerplate App Up and Running on Desktop
  3. 3:43Authenticate with Github's Api
  4. 4:44Generate a Client Secret
  5. 7:29Build a Page
  6. 8:13Implement Github Login Widget
  7. 11:21Real Login Flow
  8. 14:23Login Flow
  9. 14:56Oauth Flow
  10. 17:14Future Builder
  11. 26:03Github Api
  12. 29:28Listview
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.