Skip to content
A collection of simple, bare-bones Flutter apps that each demonstrate a concept
Branch: master
Clone or download
Latest commit 8b0c934 Apr 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01_hello_world Added PageView example Sep 24, 2018
02_0_material_navigation Renumbered scrolling detection Aug 3, 2018
02_1_routing_and_data Renamed dirs to keep them in order Dec 14, 2017
03_text_field Updated for Dart 2 and tweaked styling Jul 3, 2018
04_http Revised and updated example Jul 6, 2018
05_layouts Added licenses Dec 19, 2017
06_0_lists Added licenses Dec 19, 2017
06_1_dynamic_lists
07_stacks
08_inherited_widgets Added licenses Dec 19, 2017
09_i18n Renamed dirs to keep them in order Dec 14, 2017
10_driver_tests Added licenses Dec 19, 2017
11_json_parsing Updated JSON sample to use named constructors Dec 20, 2017
12_0_streams Renamed directory Dec 20, 2017
12_1_stream_builder Added StreamBuilder example Dec 20, 2017
12_2_rxdart Added RxDart example Dec 20, 2017
12_3_json_streams Removed unsed declarations Dec 29, 2017
13_bottom_nav_bar Updated to show the difference between fixed and shifting nav bars Jun 19, 2018
14_custom_painter Added CustomPainter example Mar 10, 2018
15_tabs Added tabbed pages demo May 17, 2018
16_panels Variable renaming Jun 19, 2018
17_ios_styling Added counter incrementer styled for iOS Jun 6, 2018
18_modal_bottom_sheet Updated to use the Provider package Mar 20, 2019
19_persistent_bottom_sheet Fixed backwards button text Jun 29, 2018
20_json_serializer_example Added more fields to Story Jul 3, 2018
21_scrolling_detection
22_testing Renumbered scrolling detection and added testing example Aug 3, 2018
23_page_view Added PageView example Sep 24, 2018
24_image_filter Added ImageFilter example Jan 5, 2019
25_align
26_valuelistenablebuilder Added another example to ValueListenableBuilder Mar 8, 2019
27_flexible Updates to Flexible example Mar 20, 2019
28_slivers More slivers Apr 2, 2019
29_add_to_android_app Added README Apr 17, 2019
30_animated_theme Added AnimatedWidget example Apr 3, 2019
31_animated_icon Updated AnimatedIcon example Apr 3, 2019
animations Added text pulsing animation example Mar 29, 2018
built_value/incrementer Added built value example Apr 26, 2018
counter_architectures Added change notifier example to counter architectures Mar 27, 2019
playpen Added more tests Aug 13, 2018
.gitignore Renumbered scrolling detection and added testing example Aug 3, 2018
LICENSE Added license file Nov 2, 2017
README.md Added tabbed pages demo May 17, 2018

README.md

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.

You can’t perform that action at this time.