flutter/examples/widgets
Ian Hickson 8a900f9042 Track scroll position
- Change RouteArguments to pass the route's BuildContext rather than
  the Navigator. This caused the bulk of the examples/ and .../test/
  changes (those are mostly mechanical changes). It also meant I could
  simplify Navigator.of().

- Make initState() actually get called when the State's Element is in
  the tree, so you can use Foo.of() functions there. Added a test for
  this also.

- Provide a RouteWidget so that routes have a position in the Widget
  tree. The bulk of the route logic is still in a longer-lived Route
  object for now.

- Make Route.setState() only rebuild the actual route, not the whole
  navigator.

- Provided a Route.of().

- Provided a Route.writeState / Route.readState API that tries to
  identify the clients by their runtimeType, their key, and their
  ancestors keys, up to the nearest ancestor with a GlobalKey.

- Made scrollables hook into this API to track state. Added a test to
  make sure this works.

- Fix the debug output of GestureDetector and the hashCode of
  MixedViewport.

- Fixed ScrollableWidgetListState<T> to handle infinite lists.
2015-10-27 13:46:07 -07:00
..
big_switch.dart Rename package:sky to package:flutter 2015-10-09 20:44:52 -07:00
card_collection.dart Use the presence of handler to determine 'enabled' 2015-10-26 17:35:41 -07:00
container.dart Use the presence of handler to determine 'enabled' 2015-10-26 17:35:41 -07:00
date_picker.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
drag_and_drop.dart Track scroll position 2015-10-27 13:46:07 -07:00
dropdown.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
ensure_visible.dart Port ensure_visible.dart to fn3. 2015-10-26 12:44:54 -07:00
horizontal_scrolling.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
indexed_stack.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
navigation.dart Track scroll position 2015-10-27 13:46:07 -07:00
nine_patch.dart Add a centerSlice parameter to images 2015-10-13 13:21:36 -07:00
overlay_geometry.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
pageable_list.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
piano.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
progress_indicator.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
pubspec.yaml Port first sector demo to fn3 2015-10-13 14:21:52 -07:00
README Write down some unwritten rules of Flutter development. 2015-10-14 09:58:29 -07:00
scale.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
scrollbar.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
sector.dart Use the presence of handler to determine 'enabled' 2015-10-26 17:35:41 -07:00
smooth_resize.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
spinning_mixed.dart Port spinning_mixed demo to fn3 2015-10-22 14:20:13 -07:00
styled_text.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00
tabs.dart Strong modeify the examples 2015-10-23 18:13:25 -07:00

Small examples of the Flutter widget framework
==============================================

To run these, open a terminal in this directory and use the following
command:

```bash
pub global activate flutter
flutter start --checked -t foo.dart
```

...where `foo.dart` is the file you want to run.