• Hixie's avatar
    Remove the inner SizeObserver from ScrollableWidgetList. · 820137b7
    Hixie authored
    Adds a HomogeneousViewport class that works like MixedViewport but
    handles only children that have all the same height.
    
    Converts ScrollableWidgetList to use that, so that we don't waste a
    frame looking at the size of the contents each time we change size.
    
    This allows a number of seemingly pointless double-pumps in the tests
    to be removed.
    
    Other changes that were necessary to support the above:
    
     - RenderBlock now supports minExtent (think 'min-height' in CSS)
     - RenderBlock now supports itemExtent (forces the height of each
       child to be the same, so that the itemExtent passed to the fixed-
       height scrollables are all authoritative instead of a source of
       bugs when they don't match)
     - RenderBlockViewport now supports horizontal scrolling
     - improved the style of the isInfinite assert in box.dart
     - fixed the position of a comment in mixed_viewport.dart
     - added a test
     - made the logic for how many items to show be more precise
    820137b7
Name
Last commit
Last update
..
README.md Loading commit data...
animated_component.dart Loading commit data...
animated_container.dart Loading commit data...
basic.dart Loading commit data...
button_base.dart Loading commit data...
card.dart Loading commit data...
checkbox.dart Loading commit data...
date_picker.dart Loading commit data...
default_text_style.dart Loading commit data...
dialog.dart Loading commit data...
dismissable.dart Loading commit data...
drag_target.dart Loading commit data...
drawer.dart Loading commit data...
drawer_divider.dart Loading commit data...
drawer_header.dart Loading commit data...
drawer_item.dart Loading commit data...
flat_button.dart Loading commit data...
floating_action_button.dart Loading commit data...
focus.dart Loading commit data...
framework.dart Loading commit data...
gesture_detector.dart Loading commit data...
homogeneous_viewport.dart Loading commit data...
icon.dart Loading commit data...
icon_button.dart Loading commit data...
ink_well.dart Loading commit data...
material.dart Loading commit data...
material_button.dart Loading commit data...
mimic.dart Loading commit data...
mimic_overlay.dart Loading commit data...
mixed_viewport.dart Loading commit data...
modal_overlay.dart Loading commit data...
navigator.dart Loading commit data...
popup_menu.dart Loading commit data...
popup_menu_item.dart Loading commit data...
progress_indicator.dart Loading commit data...
radio.dart Loading commit data...
raised_button.dart Loading commit data...
scaffold.dart Loading commit data...
scrollable.dart Loading commit data...
sizing.md Loading commit data...
snack_bar.dart Loading commit data...
switch.dart Loading commit data...
tabs.dart Loading commit data...
theme.dart Loading commit data...
title.dart Loading commit data...
tool_bar.dart Loading commit data...
transitions.dart Loading commit data...
widgets.md Loading commit data...