• Justin McCandless's avatar
    Fix TextField height issues (#27205) · 9e9f48da
    Justin McCandless authored
    * Create new TextField attribute to control maxLength behaviour
    
    * Create test case for maxLinesIncrementalHeight
    
    * fix maxLinesIncrementalHeight set method
    
    * fix editable_test.dart
    
    * Just introducing some proposed API additions, renaming to expands
    
    * Pass minLines and expands through to child widgets and validate
    
    * minLines can't be null, and expands can't be true when maxLines is 1
    
    * Implement minLines and maxLines height sizing logic
    
    * Simplify minLines validation logic
    
    * expands parameter proof of concept
    
    * min/max mixup bug fix, and tests work with expands false
    
    * Test expands=true cases, and fix textPainter.height being out of date
    
    * Test all behavior matrix cases
    
    * min/max assertion more strict, can't be equal
    
    * Tests work that were missing expands serialization
    
    * Action sheet tests no longer fail due to rounding error
    
    * TextFieldFocus test no longer mysteriously fails
    
    * TODOs for making expands nullable. Will depend on how Expanded wrapping works
    
    * Expanded growth happens when expanded is true and maxLines is null
    
    * Test Expanded wrapper
    
    * No more overflow when wrapped in Expanded
    
    * Docs improvements
    
    * expands can be null
    
    * Simplify error cases to support existing behavior
    
    * Docs examples and other docs cleanup
    
    * Expansion up to perfectly meet the parent size
    
    * Fix analyze null error
    
    * Fix test after move to nullable expands
    
    * minLines defaults to null
    
    * expands is now exclusively for expanding to parent height and not growth between min and max
    
    * _layout rewritten to handle max height. Need to fix prefix tests and
    reenable expands
    
    * Tests for textfield overflowing parent
    
    * layoutLineBox is documented and private
    
    * expands works in new _layout
    
    * _layout return numbers seem to perfectly match original _layout
    
    * inputWidth comment after trying it out and failing tests
    
    * Fix analyze errors
    
    * WIP prefix/suffix do affect height
    
    * Prefix/suffix and icons affect height, tests pass, but I'm still visually verifying identical to original
    
    * Tall prefix test that verifies pixel perfect layout
    
    * Fix overflowing edge case and test it
    
    * Clean up comments, old code, and todos
    
    * Changing _expands causes relayout. Wasnt able to figure out how to test though...
    
    * Clean up code review comments
    
    * Fix misalignment when tall prefix and border, and clean up related test
    
    * Simple code review cleanup
    
    * Bring back inputWidth to _layout method
    
    * Fix rounding errors showing up in mac tests
    
    * Fix flake by reordering tests. Without this, the dreaded intrinsicwidth flake is reproducible 50% of the time on my machine.
    
    * Fix more rounding error mac tests
    9e9f48da
Name
Last commit
Last update
..
about_test.dart Loading commit data...
animated_icons_private_test.dart Loading commit data...
animated_icons_test.dart Loading commit data...
app_bar_test.dart Loading commit data...
app_bar_theme_test.dart Loading commit data...
app_builder_test.dart Loading commit data...
app_test.dart Loading commit data...
arc_test.dart Loading commit data...
back_button_test.dart Loading commit data...
bottom_app_bar_test.dart Loading commit data...
bottom_app_bar_theme_test.dart Loading commit data...
bottom_navigation_bar_test.dart Loading commit data...
button_bar_test.dart Loading commit data...
button_theme_test.dart Loading commit data...
buttons_test.dart Loading commit data...
card_test.dart Loading commit data...
card_theme_test.dart Loading commit data...
checkbox_test.dart Loading commit data...
chip_test.dart Loading commit data...
chip_theme_test.dart Loading commit data...
circle_avatar_test.dart Loading commit data...
colors_test.dart Loading commit data...
control_list_tile_test.dart Loading commit data...
data_table_test.dart Loading commit data...
data_table_test_utils.dart Loading commit data...
date_picker_test.dart Loading commit data...
debug_test.dart Loading commit data...
dialog_test.dart Loading commit data...
dialog_theme_test.dart Loading commit data...
divider_test.dart Loading commit data...
drawer_test.dart Loading commit data...
dropdown_test.dart Loading commit data...
expand_icon_test.dart Loading commit data...
expansion_panel_test.dart Loading commit data...
expansion_tile_test.dart Loading commit data...
feedback_test.dart Loading commit data...
feedback_tester.dart Loading commit data...
flat_button_test.dart Loading commit data...
flexible_space_bar_collapse_mode_test.dart Loading commit data...
flexible_space_bar_test.dart Loading commit data...
floating_action_button_location_test.dart Loading commit data...
floating_action_button_test.dart Loading commit data...
grid_title_test.dart Loading commit data...
icon_button_test.dart Loading commit data...
icons.dart Loading commit data...
ink_paint_test.dart Loading commit data...
ink_splash_test.dart Loading commit data...
ink_well_test.dart Loading commit data...
input_decorator_test.dart Loading commit data...
list_tile_test.dart Loading commit data...
localizations_test.dart Loading commit data...
material_test.dart Loading commit data...
mergeable_material_test.dart Loading commit data...
modal_bottom_sheet_test.dart Loading commit data...
outline_button_test.dart Loading commit data...
page_selector_test.dart Loading commit data...
page_test.dart Loading commit data...
page_transitions_theme_test.dart Loading commit data...
paginated_data_table_test.dart Loading commit data...
persistent_bottom_sheet_test.dart Loading commit data...
popup_menu_test.dart Loading commit data...
progress_indicator_test.dart Loading commit data...
radio_test.dart Loading commit data...
raw_material_button_test.dart Loading commit data...
refresh_indicator_test.dart Loading commit data...
reorderable_list_test.dart Loading commit data...
scaffold_test.dart Loading commit data...
scrollbar_paint_test.dart Loading commit data...
scrollbar_test.dart Loading commit data...
search_test.dart Loading commit data...
slider_test.dart Loading commit data...
slider_theme_test.dart Loading commit data...
snack_bar_test.dart Loading commit data...
stepper_test.dart Loading commit data...
switch_list_tile_test.dart Loading commit data...
switch_test.dart Loading commit data...
tab_bar_theme_test.dart Loading commit data...
tabbed_scrollview_warp_test.dart Loading commit data...
tabs_test.dart Loading commit data...
text_field_focus_test.dart Loading commit data...
text_field_helper_text_test.dart Loading commit data...
text_field_splash_test.dart Loading commit data...
text_field_test.dart Loading commit data...
text_form_field_test.dart Loading commit data...
text_theme_test.dart Loading commit data...
theme_data_test.dart Loading commit data...
theme_defaults_test.dart Loading commit data...
theme_test.dart Loading commit data...
time_picker_test.dart Loading commit data...
time_test.dart Loading commit data...
tooltip_test.dart Loading commit data...
typography_test.dart Loading commit data...
user_accounts_drawer_header_test.dart Loading commit data...
will_pop_test.dart Loading commit data...