~/talk

Adding HomeScreenWidgets to your Flutter App

Talkat Fluttercon Europe 2024 · 2024-07-03..07-05· [flutter]
links:none on file
slides:none on file

Live demo adds Home Screen widgets to a Flutter app for iOS and Android using native pieces plus the home widget tooling, registers an App Group ID (requires paid Apple dev account), creates an iOS widget extension and an Android Glance AppWidgetReceiver, shares state via user defaults / shared preferences so a counter value updates on both platforms, implements a screenshot capture of a Flutter widget for static display, and wires an interactive button via a background Flutter entrypoint. Demo succeeds: counter updates appear on home screens and native code stays compact.

AI-written summary · about

  1. 0:00Home screen widgets intro
  2. 4:01iOS widget extension setup
  3. 9:18Android widget config
  4. 11:48Sending data to widgets
  5. 17:22Updating Android widgets
  6. 20:08Widgets via screenshots
  7. 25:18Widget interactivity
  8. 28:13Widget analytics & promotion
~/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.