LongCatIsLooong
fe55dc2b13
Reland "Prevent viewport.showOnScreen from scrolling the viewport if the specified Rect is already visible. ( #56413 )" reverted in #64091 ( #64513 )
2020-08-28 22:13:04 -07:00
Ian Hickson
8a6a76a334
migrate rendering to nullsafety ( #64621 )
2020-08-27 16:38:10 -07:00
LongCatIsLooong
6536f65048
Revert "Warns when single line text fields overflow ( #63639 )" ( #64573 )
...
This reverts commit 0ab5ecc86b1f13854ecc0cb4a89fbdc9938c5212.
2020-08-25 11:11:15 -07:00
chunhtai
39d7a019c1
Reland "fix wrap intrinsic height calculation ( #63420 )" ( #64276 )
2020-08-25 10:01:07 -07:00
LongCatIsLooong
0ab5ecc86b
Warns when single line text fields overflow ( #63639 )
2020-08-24 18:16:05 -07:00
LongCatIsLooong
7d6ffc7cc9
Add rect logic to getOffsetToReveal when onlySlivers is true ( #64295 )
2020-08-24 12:36:04 -07:00
Tong Mu
fb0b982324
Change MouseTracker's interface for clarity. Simplify MouseRegion's implementation. ( #64119 )
...
* Redesigns the interface between MouseTracker and RendererBinding&RenderView.
* Simplifies the structure of RenderMouseRegion.
* Extracts the common utility code between mouse_tracker_test and mouse_tracker_cursor_test.
2020-08-19 18:51:56 -07:00
Mehmet Fidanboylu
bd6252eb3a
Revert "Prevent viewport.showOnScreen from scrolling the viewport if the specified Rect is already visible. ( #56413 )" ( #64091 )
...
This reverts commit 64d76f2fb7ed5eb785c660084b18ed5a51fd926b.
2020-08-18 13:55:33 -07:00
Mehmet Fidanboylu
473744df2c
Revert "fix wrap intrinsic height calculation ( #63420 )" ( #64046 )
...
This reverts commit 72619b86421bfdbf4ef7b98cb893b168b89c8677.
2020-08-18 08:07:14 -07:00
LongCatIsLooong
64d76f2fb7
Prevent viewport.showOnScreen from scrolling the viewport if the specified Rect is already visible. ( #56413 )
2020-08-14 16:41:03 -07:00
chunhtai
72619b8642
fix wrap intrinsic height calculation ( #63420 )
2020-08-12 15:21:07 -07:00
chunhtai
58e839223d
reland fix intrinsic height and width for widget span #61485 ( #63118 )
2020-08-07 21:01:03 -07:00
Nolan Scobie
43c1b34cf5
Add punctuation for unterminated sentences in doc comments ( #62755 )
...
* Add punctuation for unterminated sentences in doc comments
* Addressing review nit
2020-08-06 19:18:52 -04:00
Jonah Williams
428be90768
[null-safety] revert export of Fake from test_api ( #62894 )
2020-08-04 14:31:05 -07:00
Jonah Williams
32144161ae
[null-safety] remove some usages of mockito ( #62809 )
2020-08-04 08:26:12 -07:00
Tong Mu
5398f5c566
Add tests for platform views' hover behavior ( #61667 )
2020-07-29 14:47:06 -07:00
chunhtai
3577da53ff
Revert "fix intrinsic height and width for widget span ( #61485 )" ( #61876 )
...
This reverts commit fc09119d0af589ade9c7e0609777a46ed773f5d7.
2020-07-20 09:54:50 -07:00
chunhtai
fc09119d0a
fix intrinsic height and width for widget span ( #61485 )
2020-07-16 09:36:09 -07:00
Todd Volkert
9e665e1d88
Update documentation for IntrinsicWidth & IntrinsicHeight ( #61502 )
...
https://github.com/flutter/flutter/issues/61496
2020-07-15 11:54:32 -07:00
Tong Mu
da8695d389
Mouse events report correct local positions ( #61190 )
2020-07-13 13:26:03 -07:00
Kate Lovett
ea777fea1b
Skip Audit - Rendering Library ( #58640 )
2020-07-09 13:36:03 -07:00
Jason Simmons
5cf0d73764
In layers_test create a canvas to start recording on the PictureRecorder ( #60660 )
2020-07-07 17:44:02 -07:00
Justin McCandless
2a573a32fe
Reland Characters Usage ( #59778 )
...
Use Dart's characters package to fix user-facing grapheme cluster bugs.
2020-06-23 15:28:26 -07:00
Jonah Williams
04ce9d288c
Revert "Fix outline button solid path when BorderSize.width is used ( #51581 )" ( #60000 )
...
This reverts commit 599566177736e6b30af922a8f06e8a260acafc36.
2020-06-22 10:13:37 -07:00
Ferhat
5995661777
Fix outline button solid path when BorderSize.width is used ( #51581 )
2020-06-19 16:15:58 -07:00
liyuqian
42e02d60d3
Reland non-breaking "Add clipBehavior to widgets with clipRect #55977 " ( #59364 )
...
* Revert "Revert "Add clipBehavior to widgets with clipRect (#55977 )" (#58344 )"
This reverts commit 1d395c5e187370f2838bb043d3b438029b484bfc.
* Add missed Overflow
2020-06-17 10:57:40 -07:00
renyou
a99d146ba9
Revert "Characters Package ( #53381 )" ( #59677 )
...
This reverts commit e0ed12c73a3df00b72af6e5657d35035a76c90db.
2020-06-17 08:39:34 -07:00
Justin McCandless
e0ed12c73a
Characters Package ( #53381 )
2020-06-16 16:53:04 -07:00
Kate Lovett
64f42c0ea8
Support floating the header slivers of a NestedScrollView ( #59187 )
2020-06-12 09:15:02 -07:00
Alexandre Ardhuin
4d7525f05c
Opt out nnbd in packages/flutter ( #59186 )
...
* add language version 2.8 in packages/flutter
* enable non-nullable analyzer flag
2020-06-11 14:11:30 +02:00
Darren Austin
012cee2731
Typo fixing sweep through packages/flutter. ( #59219 )
2020-06-11 05:10:01 -07:00
Jason Simmons
5736def36c
Handle selection ranges where getBoxesForSelection returns an empty list ( #59014 )
2020-06-09 11:08:04 -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
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
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
5fa1c60b17
MouseCursor uses a special class instead of null to defer ( #57094 )
...
* Uses a special cursor value MouseCursor.defer to mark deferring. MouseTrackerAnnotation.cursor is now non-null. The mouseCursor argument of widgets or render objects can be null, which indicates using the default value.
* Moves SystemMouseCursors.uncontrolled to MouseCursor.uncontrolled.
* Changes how MouseCursor.debugDescription is defined. Previously MouseCursor.toString returns $runtimeType($debugDescription), while now it returns $debugDescription. Implementations of classes are updated, except for the ones of MouseCursor.defer and MouseCursor.uncontrolled are simply "defer" and "uncontrolled".
2020-05-14 15:54:26 -07:00
LongCatIsLooong
1c13d665ea
remove redundant transform ( #57085 )
2020-05-14 11:17:03 -07:00
Tong Mu
7f8cb7f830
System mouse cursors ( #54171 )
...
Adds the basic framework for the mouse cursor system.
* Adds MouseRegion.cursor
* Adds SystemMouseCursors
* Adds mouseCursor to some widgets
2020-05-11 13:34:20 -07:00
Ian Hickson
3cb79079bf
Fix silent test failure in image cache tests ( #56492 )
2020-05-07 18:19:03 -07:00
Mjk
3f0024e164
Fix compute intrinsic size for wrap ( #55469 )
2020-05-06 13:16:01 -07:00
Gary Qian
bef3512d14
DoubleTap recognizer support and improved error message ( #56328 )
2020-05-06 13:06:02 -07:00
stuartmorgan
1cad96a63e
Handle surrogate pairs in RenderEditable ( #55246 )
...
The arrow key and delete handling in RenderEditable was using single
index values, which made it possible to move the cursor into the middle
of a surrogate pair (allowing things like adding text at that insertion
point), or to delete half of a surrogate pair. Since unpaired surrogate
pairs aren't valid UTF-16, doing so would cause assertions in the text
field.
This makes the arrow key and delete key handling surrogate-aware
(although not grapheme-cluster-aware, which is a larger fix that is out
of scope here).
Part of #55014
2020-04-22 12:21:03 -07:00
chunhtai
96a3b2ae0b
disable hit testing if the CompositedTransformFollower is hidden when… ( #54981 )
...
* disable hit testing if the CompositedTransformFollower is hidden when there is no leader layer
* update comment
2020-04-20 14:46:38 -07:00
chunhtai
baafc66817
Enable gesture recognizer in selectable rich text ( #54479 )
2020-04-16 10:05:02 -07:00
Michael Goderbauer
d47ad7ec0d
Reverse dependency between services and scheduler ( #54212 )
2020-04-08 09:12:03 -07:00
LongCatIsLooong
4af5fe2c37
Reland "iOS UITextInput autocorrection prompt ( #45354 )" ( #54119 )
2020-04-07 12:11:14 -07:00
cjng96
d62c7ecce5
Ignore key events on edit control on web platform ( #52656 ) ( #52661 )
2020-04-01 00:31:03 -07:00
chunhtai
13fa5734f8
Reland fixes sliver list child layout offset calculation ( #53187 )
2020-03-25 11:06:02 -07:00
Tong Mu
bbc0cc07f6
Move mouse_tracking.dart to rendering ( #52781 )
...
* Move mouse_tracking to rendering
* Move test
2020-03-20 11:22:02 -07:00
chunhtai
3998549d52
Revert "fixes sliver list child layout offset calculation ( #42703 )" ( #52923 )
...
This reverts commit 11efa00f9f51d0f42fea4f206651ea974f59e42b.
2020-03-20 06:07:25 -07:00