Justin McCandless
c940282bf3
InteractiveViewer Widget ( #56409 )
2020-06-02 17:53:05 -07:00
Ian Hickson
74a2e6a5e0
Various bits of trivial cleanup ( #58203 )
2020-06-02 13:53:01 -07:00
Tong Mu
729ba11bc4
Add doc and test for Container's hitTest behavior ( #57522 )
2020-06-02 13:18:01 -07:00
Tong Mu
0bda633509
InkWell uses MaterialStateMouseCursor and defaults to clickable ( #58448 )
...
* Adds support for material state mouse cursor to InkWell and InkResponse
* Set their default cursors to be MaterialStateMouseCursor.clickable.
2020-06-02 12:27:11 -07:00
Dan Field
a7f998f0ac
Do not assume imageCache is created when handleMemoryPressure is called ( #58503 )
...
* Do not assume imageCache is created when handleMemoryPressure is called
* comment for test
2020-06-02 10:27:50 -07:00
VisheshAtWork
df45748de6
Added Documentation for AnimationController.repeat() ( #58098 )
2020-06-02 09:16:28 -07:00
LongCatIsLooong
bbb95e5787
EditableText.bringIntoView calls showOnScreen ( #58346 )
2020-06-01 12:08:01 -07:00
Mehmet Fidanboylu
1d395c5e18
Revert "Add clipBehavior to widgets with clipRect ( #55977 )" ( #58344 )
...
This reverts commit cd593dae1961ca2bc5c045a310f16e6cdffc8294.
2020-05-31 07:41:50 -07:00
Ian Hickson
ffc5602656
Dedupe (and update) the --track-widget-creation documentation ( #58206 )
2020-05-30 17:48:02 -07:00
Greg Spencer
37f562fa36
Remove callback asserts on FocusableActionDetector ( #58272 )
...
This makes the callback arguments to FocusableActionDetector optional, if you (for instance) only want to define shortcuts and actions and a focus node for something.
2020-05-29 15:57:05 -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
Pedro Massango
af9a409eda
Prevent WhitelistingTextInputFormatter to return a empty string if the current value does not satisfy the formatter ( #57264 )
2020-05-29 09:48:02 -07:00
Helin Shiah
479f370379
Add function to set structured error early ( #58118 )
...
* Add function to set structured error early
* Remove unused imports
* Save test handler in setUp
* Add utils file for shared test service
* Rename structured error functions
* Use setUpAll to save error handler and call initStructuredError from other init
* Rename widget inspector test service
* Remove debugging print statement
* Move error handling setting back to initServiceExtensions
* Rename structured error handler in test
* Namespace environment variable
* Rename test
2020-05-28 16:38:10 -07:00
Hansol Lee
e853155c7e
Error message when size has not been set in RenderBox's performLayout should be well versed ( #58151 )
2020-05-28 15:03:01 -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
Jonah Williams
d30c355d24
[flutter] allow loading either NOTICES or LICENSE ( #58131 )
...
To make #57871 easier to land, add support for loading either LICENSES or NOTICES, preferring the later.
2020-05-28 12:06:52 -07:00
Onat Çipli
4f0c82b7a3
fixes isAlwaysShown material scrollbar.dart ( #54128 )
2020-05-28 11:23:05 -07:00
chunhtai
7e2f555d1b
fix route annoucement for first route and last route ( #57339 )
2020-05-28 11:18: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
Justin McCandless
066c5def0a
Consistent American spelling of 'behavior' ( #58016 )
2020-05-27 10:17:02 -07:00
Kirill
e766190556
Deleted deprecated profile func and profile.dart ( #57841 )
2020-05-27 10:12:04 -07:00
Tim Sneath
356b958f66
Update platform_view.dart ( #57516 )
2020-05-27 10:07:05 -07:00
chunhtai
68037a23af
Improve error message when using popuntil with bad predicate ( #57247 )
2020-05-27 10:02:05 -07:00
Ayush Bherwani
b3434459d5
[CheckboxListTile] exposes contentPadding property of ListTile. ( #57868 )
2020-05-26 07:07:02 -07:00
Devon Carew
9d58a87066
fix a typo in trace events for the image cache ( #57821 )
2020-05-22 22:37:01 -07:00
Ayush Bherwani
852a30b003
[AppBarTheme] adds centerTitle property ( #57736 )
2020-05-21 14:57:03 -07:00
Dan Field
02b1080101
Functionality to check handlers set on platform channels ( #57696 )
2020-05-21 14:52:05 -07:00
Per Classon
39ab50db14
Add code example for CustomScrollView on how to make it grow in two directions along its scroll axis ( #57670 )
2020-05-21 14:37:08 -07:00
Justin McCandless
9f744a9e4c
Allow updating textAlignVertical ( #57033 )
2020-05-21 14:37:04 -07:00
Stonekity
26fabcd41b
fix memory leak of android view ( #50111 )
2020-05-21 14:32:03 -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
LongCatIsLooong
0e795c93b9
Improve CupertinoDatePicker docs ( #57534 )
2020-05-19 20:17:01 -07:00
LongCatIsLooong
ca2abf865e
avoid forceToPoint in hit-testing when possible ( #57519 )
2020-05-19 18:12:03 -07:00
Darren Austin
4c21fb9017
Update the requirements for applying the elevation overlay. ( #57526 )
2020-05-19 18:02:07 -07:00
Anthony
82eeb94045
move paragraph about wide viewports up ( #57521 )
2020-05-19 17:57:09 -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
LongCatIsLooong
4fd4a7ed85
update appbar documentation ( #50673 )
2020-05-19 12:32:03 -07:00
Andrey Gordeev
4d8d0f5604
Expect a generic State instead of implementation ( #57500 )
2020-05-18 12:37:02 -07:00
LongCatIsLooong
89a00fc745
fix segment hit test behavior ( #57461 )
2020-05-18 10:42:02 -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
Tomohiro Hattori
b70301fe08
fix typo ( #57487 )
2020-05-18 09:02:01 -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
Cristian Zazo
e8a7dc466b
Fix Autofill example ( #57319 )
2020-05-18 02:27:01 -07:00