• Ian Hickson's avatar
    Track scroll position · 8a900f90
    Ian Hickson authored
    - 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.
    8a900f90
Name
Last commit
Last update
..
align_test.dart Loading commit data...
animated_container_test.dart Loading commit data...
block_test.dart Loading commit data...
box_decoration_test.dart Loading commit data...
build_scope_test.dart Loading commit data...
center_test.dart Loading commit data...
coordinates_test.dart Loading commit data...
custom_one_child_layout_test.dart Loading commit data...
date_picker_test.dart Loading commit data...
dismissable_test.dart Loading commit data...
draggable_test.dart Loading commit data...
drawer_test.dart Loading commit data...
duplicate_key_test.dart Loading commit data...
flex_test.dart Loading commit data...
focus_test.dart Loading commit data...
fractionally_sized_box_test.dart Loading commit data...
gesture_detector_test.dart Loading commit data...
homogeneous_viewport_test.dart Loading commit data...
init_state_test.dart Loading commit data...
input_test.dart Loading commit data...
listener_test.dart Loading commit data...
mixed_viewport_test.dart Loading commit data...
multichild_test.dart Loading commit data...
navigator_test.dart Loading commit data...
pageable_list_test.dart Loading commit data...
parent_data_test.dart Loading commit data...
positioned_test.dart Loading commit data...
progress_indicator_test.dart Loading commit data...
remember_scroll_position_test.dart Loading commit data...
render_object_widget_test.dart Loading commit data...
reparent_state_test.dart Loading commit data...
scrollable_list_hit_testing_test.dart Loading commit data...
scrollable_list_horizontal_test.dart Loading commit data...
scrollable_list_vertical_test.dart Loading commit data...
set_state_3_test.dart Loading commit data...
set_state_test.dart Loading commit data...
shader_mask_test.dart Loading commit data...
size_observer_test.dart Loading commit data...
snack_bar_test.dart Loading commit data...
snap_scrolling_test.dart Loading commit data...
stack_test.dart Loading commit data...
stateful_component_test.dart Loading commit data...
stateful_components_test.dart Loading commit data...
syncing_test.dart Loading commit data...
tabs_test.dart Loading commit data...
test_widgets.dart Loading commit data...
transform_test.dart Loading commit data...
widget_tester.dart Loading commit data...