Skip to content

A collection of simple, bare-bones Flutter apps that each demonstrate a concept

License

Notifications You must be signed in to change notification settings

mjohnsullivan/flutter-by-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Matt Sullivan
May 23, 2020
039555b · May 23, 2020
May 23, 2020
Aug 3, 2018
Dec 14, 2017
Jul 3, 2018
Jul 6, 2018
Dec 19, 2017
Dec 19, 2017
Dec 19, 2017
Jan 8, 2019
Dec 19, 2017
Dec 14, 2017
Dec 19, 2017
Dec 20, 2017
Dec 20, 2017
Dec 20, 2017
Dec 20, 2017
Dec 29, 2017
Jun 19, 2018
Mar 10, 2018
May 17, 2018
Jun 19, 2018
Jun 6, 2018
Mar 20, 2019
Jun 29, 2018
Jul 3, 2018
Jul 11, 2018
Aug 3, 2018
Sep 24, 2018
Jan 5, 2019
Apr 3, 2019
Mar 8, 2019
Mar 20, 2019
Apr 2, 2019
Apr 17, 2019
Apr 3, 2019
Apr 3, 2019
Jun 20, 2019
Jun 28, 2019
Sep 19, 2019
Aug 13, 2019
Oct 17, 2019
Oct 31, 2019
Jan 7, 2020
Jan 21, 2020
May 23, 2020
Mar 29, 2018
Apr 26, 2018
Mar 27, 2019
Jun 14, 2019
Aug 3, 2018
Nov 2, 2017
May 17, 2018

Repository files navigation

flutter-by-example

A collection of simple, bare-bones Flutter apps that each demonstrate a concept

The apps are slowly being updated to Dart 2; be sure to use the --preview-dart-2 flag when running/compiling these examples

Apps

  1. Hello World: one-line Flutter app Updated for Dart 2
  2. Material Navigation: two screen Flutter that demonstrates navigation using Material
    • (2.1) Routing with data: passing data between navigation routes
  3. TextField: example of a simple single-line text field and a multi-line text field with a submit button
  4. HTTP: fetching text and images over http
  5. Layouts: example widget Layouts
  6. Lists: example list view
    • (6.1) Dynamic lists: create a dynamic (infinite) list with dividers
  7. Stacks: how to render widgets at set positions in a stack
  8. Inherited Widgets: how to use inherited widgets to pass data down a widget tree
  9. i18n: simple example of i18n support in Flutter
  10. Driver Testing: a simple demonstration driver test
  11. JSON Parsing: parses a JSON network response
  12. Streams: handle state updates using streams
    • (12.1) StreamBuilder: handle state updates using StreamBuilder
    • (12.2) RxDart: handle state updates using StreamBuilder with Observables
    • (12.3) JSON with Streams: HTTP and JSON parsing using streams
  13. Bottom Nav Bar: Simple bottom nav bar implementation, using Stack and OffStage
  14. Custom Painter: implements a basic bar chart using a custom painter
  15. Tabs: tabbed pages demo

Flutter Docs

For help getting started with Flutter, view Flutter's online documentation.