Mehmet Fidanboylu
1d395c5e18
Revert "Add clipBehavior to widgets with clipRect ( #55977 )" ( #58344 )
...
This reverts commit cd593dae1961ca2bc5c045a310f16e6cdffc8294.
2020-05-31 07:41:50 -07:00
Justin McCandless
7d17c53992
Helpful assertion for isAlwaysShown error ( #58258 )
2020-05-29 15:48:01 -07:00
liyuqian
cd593dae19
Add clipBehavior to widgets with clipRect ( #55977 )
...
* Add clipBehavior to RenderFlex
* Add clipBehavior to FittedBox
* Add clipBehavior to Flex and FittedBox
* Add clipBehavior to UnconstrainedBox
* Add clipBehavior to Stack and Wrap
* Add clipBehavior to TextEditable
* Add clipBehavior to ListWheelScrollView
* Add clipBehavior to SingleChildScrollView
* Add clipBehavior to RenderViewportBase's widgets
Those widgets are NestedScrollView and ShrinkWrappingViewport.
* Fix tests
* Remove enum Overflow and fix typo
* Remove clipToSize
* Analyze fix
* Remove Mixin and other small fixes
* Fix tests and respect Stack's default clipBehavior
* Add Overflow back to make it non-breaking
* Restore clipBehavior to make it non-breaking
* Small fixes
* Fix rebase
2020-05-29 15:38:50 -07:00
Tong Mu
60f1aa25d3
Add mouse cursor API to widgets (phase 1) ( #57628 )
...
* Adds default cursor and/or mouseCursor property to a number of widgets.
* Adds `MaterialStateMouseCurrsor`.
2020-05-28 13:16:31 -07:00
Onat Çipli
4f0c82b7a3
fixes isAlwaysShown material scrollbar.dart ( #54128 )
2020-05-28 11:23:05 -07:00
Greg Spencer
8ef2915453
Add MediaQueryData.navigationMode and allow controls to be focused when disabled. ( #54919 )
...
This adds a new navigationMode to the MediaQueryData that indicates how focusable controls should behave under different navigation modes, currently with two modes: NavigationMode.traditional, and NavigationMode.directional.
It may seem like focusing a disabled control is not desirable, but this is useful for user interfaces that use DPAD navigation because if a control gets disabled, losing focus is disruptive to the user, and it is difficult to control where the focus will end up unless it is done explicitly.
2020-05-27 15:30:19 -07:00
Jose Alba
bd06749edc
Slider value indicator gets disposed if it is activated ( #57535 )
2020-05-27 15:27:01 -07:00
Ayush Bherwani
8b63c65436
[SwitchListTile] adds controlAffinity property ( #58037 )
2020-05-27 10:32:03 -07:00
Ayush Bherwani
b3434459d5
[CheckboxListTile] exposes contentPadding property of ListTile. ( #57868 )
2020-05-26 07:07:02 -07:00
Ayush Bherwani
852a30b003
[AppBarTheme] adds centerTitle property ( #57736 )
2020-05-21 14:57:03 -07:00
Justin McCandless
9f744a9e4c
Allow updating textAlignVertical ( #57033 )
2020-05-21 14:37:04 -07:00
Hansol Lee
e92afc16b6
Have _warpToCurrentIndex() shortcut logic behave properly ( #57574 )
...
* Have _warpToCurrentIndex() shortcut logic behave properly
* Add test
* Apply code review
* Fix typo (fromm -> from)
2020-05-20 13:29:01 -07:00
Darren Austin
4c21fb9017
Update the requirements for applying the elevation overlay. ( #57526 )
2020-05-19 18:02:07 -07:00
Justin McCandless
53d7f24521
Fix Web asking for clipboard permissions ( #57324 )
2020-05-19 17:57:04 -07:00
Kate Lovett
04860d7256
Step 1 of 3: Add opt-in fixing Dialog border radius to match Material Spec ( #56084 )
2020-05-19 17:52:05 -07:00
Jose Alba
0423809c2f
Value Indicator uses Global position ( #57327 )
...
* Value Indicator uses Global position when calculating horizontal position
* fixed test
* fixed analyzer
* Made globalCenter variable and added comments
2020-05-18 13:22:31 -04:00
Andre
6294dd59bb
Make _RenderButtonBarRow.constraints null aware ( #57261 )
2020-05-18 09:07:02 -07:00
Ayush Bherwani
f2c12d7e79
Add ExpansionTile.childrenPadding property ( #57291 )
2020-05-18 09:05:49 -07:00
Hans Muller
750dbe0954
ThemeData.brightness == ThemeData.colorScheme.brightness ( #56956 )
2020-05-18 08:52:02 -07:00
Pedro Massango
07f9563dac
Add autofill support for TextFormField ( #57332 )
2020-05-18 02:32:02 -07:00
Ethan Saadia
2b2bbfa69f
Add option for ExpansionTile to maintain the state of its children when collapsed ( #57172 )
2020-05-16 15:07:02 -07:00
Enol Casielles Martinez
e7b6b52102
avoid AnimatedBuilder rebuilding widget ( #55832 )
2020-05-16 14:52:08 -07:00
Coin
e5bd2b3d55
Make CircularProgressIndicator's animation match native ( #50412 )
2020-05-16 14:47:03 -07:00
nturgut
32547dcc7e
Revert " Bring back paste button hide behavior 3 ( #57139 )" ( #57286 )
...
This reverts commit 8de07d5527bcdc6b02e43e8efed19219a84bf82e.
2020-05-15 10:42:37 -07:00
Darren Austin
0bcca42bba
Honor the InputDecoratorTheme in the text input fields used by the Date Pickers. ( #57189 )
2020-05-14 14:42:02 -07:00
Justin McCandless
8de07d5527
Bring back paste button hide behavior 3 ( #57139 )
2020-05-14 11:37:02 -07:00
Darren Austin
7706a97aba
Localized new strings added in the redesigned Material Date Picker ( #56645 )
2020-05-14 11:02:11 -07:00
Pedro Massango
1aaf73fad0
Making DropdownButtonFormField to re-render if parent widget changes ( #57037 )
...
* Update DropdownButtonFormField's state if widget updates
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2020-05-13 09:16:02 -07:00
Ayush Bherwani
4b814cf8ce
[ExpansionTile] Wire through expandedCrossAxisAlignment, and expandedAlignment properties to the expanded tile ( #56190 )
2020-05-13 09:02:04 -07:00
rami-a
0e7b2beff7
Use titleTextStyle from dialog theme for SimpleDialog ( #56895 )
2020-05-12 07:20:03 -07:00
Jenn Magder
c969b8af7b
Revert "Bring back paste button hide behavior 2 ( #56922 )" ( #56951 )
...
This reverts commit d988226374cda866cfa5336fdbb0d258e0e8ddfb.
2020-05-11 15:28:10 -07:00
Gabe Moothart
a9ea085bd3
Wire up autofocus for OutlineButton ( #56494 )
...
* Wireup autofocus for OutlineButton
Fixes #56493
* add test
2020-05-11 13:24:46 -07:00
Justin McCandless
d988226374
Bring back paste button hide behavior 2 ( #56922 )
...
Unrevert of paste button hides when nothing to paste
2020-05-11 13:23:24 -07:00
Tong Mu
06adde0bd0
Nested InkWells only show the innermost splash ( #56611 )
2020-05-09 21:04:01 -07:00
Mehmet Fidanboylu
0786f29ff2
Revert "Bring back paste button hide behavior ( #56689 )" ( #56806 )
...
This reverts commit d56349822d1087acc7d3f2f4cb0c037abdeb93d9.
2020-05-09 20:22:17 -07:00
Justin McCandless
d56349822d
Bring back paste button hide behavior ( #56689 )
...
Unreverts #54902 with fixes for a failing integration test.
2020-05-08 13:41:22 -07:00
Hans Muller
7ba5078f85
Added MaterialStateProperty.all() convenience method ( #56589 )
2020-05-07 18:20:56 -07:00
Darren Austin
4560ebcf9f
Implementation of the Material Date Range Picker. ( #55939 )
2020-05-07 17:54:03 -07:00
Justin McCandless
cd67da260e
Revert "Paste shows only when content on clipboard ( #54902 )" ( #56614 )
...
This reverts commit 053c38818f8ae89ea2fa441f4055c3bd939798ef.
2020-05-07 17:28:37 -07:00
Justin McCandless
053c38818f
Paste shows only when content on clipboard ( #54902 )
2020-05-07 15:22:03 -07:00
Justin McCandless
8fbfe1cfbf
Text field height fix ( #55911 )
2020-05-06 17:36:01 -07:00
Jose Alba
0549ab2390
Removed useV2 Slider flag ( #55857 )
2020-04-30 15:19:01 -07:00
Anthony
1b6711277e
Fix default opacity assignments for unselected and selected icons in NavigationRail ( #55902 )
2020-04-29 09:39:03 -07:00
guylivneh
4dd3435b78
Add a property to Material icon button to customize the splash radius ( #55761 )
2020-04-29 09:34:03 -07:00
Justin McCandless
43ce3fd988
TextField enabled fix ( #55775 )
2020-04-28 10:49:02 -07:00
Mehmet Fidanboylu
eddba97d9a
Fix behavior change due to incorrect initial floating setting ( #55651 )
2020-04-28 10:44:03 -07:00
Jose Alba
7eb3df4a11
Default to use V2 Slider ( #55599 )
...
* Instead of changing test I just flipped flag so the test uses the proper slider
* Use Depracated annotation
* Updated depracation notice
* Updated depracation notice again
* Ignore analyze issues
* flutter analyze .
* ignore analyzer
* // ignore: deprecated_member_use
* Ignoring notice
* indentation
2020-04-27 17:57:42 -04:00
rami-a
fc77aea34e
Enable configuring minHeight for LinearProgressIndicator and update default to match spec ( #55482 )
2020-04-27 14:09:02 -07:00
Tianguang
0c4a659d18
Support New and Custom FAB Locations ( #51465 )
2020-04-24 22:24:01 -07:00
Leonardo Emili
f37a91a7bf
Add searchFieldStyle ( #54674 )
2020-04-24 17:54:01 -07:00