4304 Commits

Author SHA1 Message Date
xubaolin
149a1957d5
fix a DragTarget type cast bug (#72512) 2020-12-21 09:14:03 -08:00
Todd Volkert
e2a0d03b79
Avoid null check operator failure in RenderFlex._hasOverflow (#72122)
Fixes https://github.com/flutter/flutter/issues/71972
2020-12-17 19:25:28 -08:00
J-P Nurmi
803c07fe3b
Fix EditableText.enableInteractiveSelection on desktop & web (#70972)
selectionEnabled was not taken into account in:

key movement handling in RenderEditable
mouse drag handling in TextSelectionGestureDetectorBuilder
2020-12-17 16:56:47 -08:00
Kate Lovett
26ccbd9ff6
Update Scrollbar behavior for mobile devices (#72531) 2020-12-17 15:34:02 -08:00
Hans Muller
dc80d499f3
Added backwardsCompatibility flag to AppBarTheme (#72472) 2020-12-17 10:39:03 -08:00
xster
ca82c572b7
Revert "let NOTICES be double gzip wrapped to reduce on-disk installed space (#71899)" (#72438) 2020-12-16 10:58:19 -08:00
RomanJos
a3971153f6
[Proposal] Make mouseWheel zoom in % instead of pixels value (#71266)
InteractiveViewer scale gesture feel improvement.
2020-12-16 10:36:53 -08:00
Yash Johri
04c104cce6
[BottomNavigationBar] Adds more control to ToolTip (#71079) 2020-12-16 09:33:03 -08:00
Yash Johri
7ce8f4abae
Accessibility: repeated label on BottomNavigationBar fixed (#71587) 2020-12-16 09:23:02 -08:00
Shi-Hao Hong
2eee5ae949
[State Restoration] RestorableBoolN (#71653) 2020-12-15 17:53:04 -08:00
Yegor
67908dfb80
Reschedule engine frame if it arrives in the middle of warm-up (#72115)
* Reschedule engine frame if it arrives in the middle of warm-up

* user post-frame callback instead
2020-12-15 16:54:52 -08:00
xster
4ed3432e8f
let NOTICES be double gzip wrapped to reduce on-disk installed space (#71899) 2020-12-15 13:29:14 -08:00
Kate Lovett
b145a53395
Remove Scrollbar.isAlwaysShown assert based on Scrollbar.controller (#72316) 2020-12-15 10:53:04 -08:00
Justin McCandless
7d2e3a1859
Material Text Selection Toolbar improvements (#69428)
Exposes the ability to create custom Material text selection toolbar menus, and cleans up the code around these menus.
2020-12-15 08:59:08 -08:00
Greg Spencer
0351c74aeb
Make web buttons respond to enter key (#72162) 2020-12-14 18:58:03 -08:00
Justin McCandless
fb3dba74b7
Correct text selection pivot points (#71756) 2020-12-14 11:18:05 -08:00
Alex Li
63062a6443
Deprecate maxLengthEnforced for text fields (#72043) 2020-12-13 23:19:13 +08:00
chunhtai
58081821ab
Editable text should call onSelectionChanged when selection changes a… (#72011) 2020-12-11 13:53:04 -08:00
Kate Lovett
770a9b25d9
Updated Interactive Scrollbars (#71664) 2020-12-11 13:48:05 -08:00
xubaolin
abcfdfb92c
fix some unit test cases(ink_well_test.dart) bug (#70447)
This change fixes some bugs in ink_well_test.dart.
2020-12-11 11:23:19 -08:00
Todd Volkert
a1070e4f4c
Revert "Remove duplicate code in Element.rebuild() and BuildOwner.buildScope() (#71940)" (#72120)
This reverts commit c8f07aad563d9460eac0074be0a24a38158239af.
2020-12-10 23:24:21 -08:00
Michael Goderbauer
8df56056b4
Revert "Constrain width/hight when asking child for intrinsics (#71880)" (#72102)
This reverts commit ceca634e9800dc50c7680ecb346f8a4e442de5c5.
2020-12-10 17:03:56 -08:00
Daniel Edrisian
bff0ec470a
Add footer to CupertinoFormSection and fix CupertinoFormSection margins. (#72046) 2020-12-10 10:58:04 -08:00
Alex Li
135a8c22b1
Introduce MaxLengthEnforcement (#68086) 2020-12-10 07:31:59 +08:00
gabber235
635dfc3e4f
Draggable: onDragUpdate callback (#68185) 2020-12-09 14:58:04 -08:00
houyushan
d12098da8a
Fix a ConstantTween's clerical error and Add some Tween testcases. (#71830) 2020-12-09 14:48:03 -08:00
Michael Goderbauer
ceca634e98
Constrain width/hight when asking child for intrinsics (#71880) 2020-12-09 14:42:19 -08:00
David Martos
56716f61a2
Chip theme label style is merged with the provided label style (#70687) 2020-12-09 11:28:05 -08:00
Todd Volkert
c8f07aad56
Remove duplicate code in Element.rebuild() and BuildOwner.buildScope() (#71940)
Element.rebuild() and BuildOwner.buildScope() both had code to
manager the `BuildOwner._debugCurrentBuildTarget` state variable.
Unfortunately, only one of the two places was using a try/finally
to ensure that the state variable was restored even if an error
was thrown.

This creates a private method to unify the copy/pasted code.
2020-12-08 17:58:28 -08:00
Todd Volkert
7ec3f6bdf9
Make FocusManager configurable in BuildOwner (#71872) 2020-12-08 12:42:39 -08:00
houyushan
4217ce443b
Fix the duration assertion error for the _animateToInternal method and refine the error description (#71137) 2020-12-08 11:53:03 -08:00
Michael Goderbauer
ed5229e57b
Remove isMaterialAppTheme property (#71861) 2020-12-08 09:18:07 -08:00
Pierre-Louis
a51b8e4309
Fix text direction logic for material icon variants (#71852) 2020-12-08 09:08:05 -08:00
Amit Patil
2cb652600c
showDialog assertion for non-null builder or child property (#71838) 2020-12-08 09:03:03 -08:00
Ayush Bherwani
995aa138cd
[ExpansionPanel] Exposes color property of MaterialSlice (#71657) 2020-12-07 19:48:02 -08:00
Shi-Hao Hong
7cb2834a8b
StandardMethodCodec.decodeEnvelope should allow null error message (#71807)
* StandardMethodCodec.decodeEnvelope should allow null error message
2020-12-08 08:04:30 +08:00
Per Classon
90f08769a3
[Material] Resolve overlay color for pressed/active/inactive states in selection controls (#71569) 2020-12-07 03:33:03 -08:00
Daniel Edrisian
99ccff3bb6
Add stretch property to CupertinoSliverNavigationBar (#71707)
* Add stretch property to CupertinoSliverNavigationBar

* Added tests

* Fix trailling spaces

* xster review: fix tests

* xster review: fix tests

* trim extra spaces
2020-12-05 04:56:51 -08:00
xubaolin
a12c22b296
Set [InputDecoration.floatingLabelBehavior] default to null (#70683) 2020-12-04 11:28:03 -08:00
houyushan
368c12b55e
Add RichText debugFillProperties TestCase (#70819) 2020-12-04 11:18:03 -08:00
Hans Muller
d375a83910
Update AppBar and AppBar Theme to new Theme conventions and latest Material spec (#71184) 2020-12-04 09:12:31 -08:00
Daniel Edrisian
4d4d017aa5
Re-land CupertinoFormSection, CupertinoFormRow, and CupertinoTextFormFieldRow (#71522) 2020-12-03 21:38:10 -08:00
xubaolin
5f7f4f1aff
Reland "Improve the behavior of DropdownButton.disabledHint" (#71628)
* DropdownButton should display the value over hint and disabledHint if a DropdownButton.value is defined
2020-12-04 08:48:00 +08:00
xubaolin
8817c0d28c
RefreshIndicator can be shown when dragging from non-zero scroll position (#71303) 2020-12-03 13:28:04 -08:00
Jia Hao
bf8313f8fc
Add a test for intrinsic size checks (#71539) 2020-12-03 08:48:04 -08:00
LongCatIsLooong
746056a539
Skip reformatting and calling onChanged for composing region only changes. (#70883) 2020-12-03 08:43:05 -08:00
LongCatIsLooong
df28355b0c
Raw keyboard shortcuts & deletions should not read from _plainText (#71236) 2020-12-02 17:13:04 -08:00
Dan Field
a2aa2ed02d
Revert "Fix excessive rebuilds of DSS (#69724)" (#71459)
This reverts commit 16dce765775da51416f119a21fc88a8de9ee5fd3.
2020-12-02 11:42:38 -08:00
Ayush Bherwani
ff9d9fc2b6
[MaterialSlice] adds property to customize slice color (#63466) 2020-12-02 07:43:02 -08:00
Shi-Hao Hong
25986102c1
Revert "Improve the behavior of DropdownButton.disabledHint (#70277)" (#71559)
This reverts commit 59cf0d2263b9c7a1b3069d4c11888696adb68745.
2020-12-02 20:36:44 +08:00