Tim Sneath
356b958f66
Update platform_view.dart ( #57516 )
2020-05-27 10:07:05 -07:00
Michel Feinstein
7e26a1d832
Fixed a typo. ( #57412 )
2020-05-18 02:22:10 -07:00
Alexandre Ardhuin
d42dcf2edd
add @factory to create* methods ( #57299 )
2020-05-18 02:22:05 -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
98bc176627
Have the physics enforce the scroll position. ( #56521 )
2020-05-08 12:59:02 -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
Andre
96233db90d
Make CustomClipper extend Listenable ( #55995 )
2020-05-04 18:39:03 -07:00
Justin McCandless
de8cf8b530
Customizable obscuringCharacter ( #55415 )
2020-04-24 17:59: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
liyuqian
b475eaf8ba
Set AA flag for painting images ( #51656 )
2020-04-08 19:02:04 -07:00
Filip Hracek
1593788cd9
Rename GPU thread to raster thread in API docs ( #53422 )
2020-04-08 18:57:03 -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
chunhtai
11efa00f9f
fixes sliver list child layout offset calculation ( #42703 )
2020-03-19 14:51:04 -07:00
Michael Goderbauer
1444e77205
Use stable IDs for TextSpan SemanticsNodes ( #52769 )
2020-03-18 09:56:02 -07:00
Justin McCandless
4841a7ed6f
Text Selection Overflow (Android) ( #49391 )
...
Adds an overflow menu to the text selection menu on Android when the items overflow.
2020-03-11 13:36:10 -07:00
Greg Spencer
210f4d8313
Convert Diagnosticable to a mixin ( #51495 )
...
This converts Diagnosticable to be a mixin instead of an abstract class, so that it can be used to add diagnostics to classes which already have a base class.
It leaves in place the DiagnosticableMixin mixin, since there are some plugins that are still using it, and removing it would mean that those plugins wouldn't work with master branch Flutter anymore. DiagnosticableMixin will be removed once this mixin version of Diagnosticable makes its way to the stable branch.
2020-03-11 10:03:05 -07:00
Alexandre Ardhuin
c2ae654ddf
enable avoid_single_cascade_in_expression_statements ( #51944 )
2020-03-05 08:03:26 +01:00
Greg Spencer
1ba4f1f509
Add Linux and Windows target platforms ( #51519 )
...
This PR adds the linux and windows target platform enum values, along with automatically setting the defaultTargetPlatform to the appropriate value on those platforms.
Fixes #31366
2020-03-03 04:38:04 -08:00
LongCatIsLooong
fe0a669cc9
fix sign ( #51679 )
2020-03-02 09:54:02 -08:00
stuartmorgan
6a337a76dd
Revert "Fix handling backspace on macos with text selection ( #49760 )" ( #51577 )
...
This reverts commit 9375377fa99e8faae8a573e9fe92b8712d33e82d.
Fixes #51511
2020-02-28 14:28:34 -08:00
Jonah Williams
213027dd82
[Perf/codesize] Reland: Reduce constraint member reads during layout
...
This reverts commit 2132a0c7a3d2a107190238ca0c5570baa0467bb7.
2020-02-28 10:02:57 -08:00
Ferhat
1a79592b4a
Reduce closure allocation in RenderObject.cleanRelayoutBoundary ( #51439 )
2020-02-26 15:53:19 -08:00
Ferhat
2132a0c7a3
Revert "[Perf/codesize] Reduce constraint member reads during layout ( #51418 )" ( #51489 )
...
This reverts commit 69080e07e6bb178332bf546cf83054a85b91b2fe.
2020-02-26 15:51:30 -08:00
Ferhat
69080e07e6
[Perf/codesize] Reduce constraint member reads during layout ( #51418 )
2020-02-25 13:50:21 -08:00
Albertus Angga Raharja
aad941e3fa
Avoid using FlutterError.fromParts when possible ( #43696 )
...
This PR is a follow up of https://github.com/flutter/flutter/pull/42640
Some changes of that PR includes redundant changes using FlutterError.fromParts constructor even though it's not necessary.
Some minor changes are:
- Remove one unnecessary todo
- Fix indent consistencies
2020-02-20 07:51:53 -08:00
Jacob Richman
7820641a05
Fix Diagnostics subclasses that had the wrong default value for the named parameter. ( #50645 )
2020-02-12 14:52:50 -08:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Michael Goderbauer
6d87337f51
Remove some obsolete // ignore: ( #50481 )
2020-02-10 14:08:09 -08:00
Tong Mu
324a2168cd
Change definition of offset to object ( #50157 )
2020-02-07 13:08:02 -08:00
creativecreatorormaybenot
e300c1a45a
Docs: provide Guidance for SingleChildRenderObjectWidget implementations ( #49993 )
2020-02-05 17:43:02 -08:00
Gary Qian
3e1a124e0e
Expose selectionHeightStyle and selectionWidthStyle on TextFields ( #48917 )
2020-02-05 17:38:03 -08:00
creativecreatorormaybenot
cc7b886491
Docs: provide Guidance for MultiChildRenderObjectWidget implementations ( #49994 )
...
provide Guidance for MultiChildRenderObjectWidget implementations
2020-02-05 15:22:57 -08:00
creativecreatorormaybenot
abf4e1617d
Docs (RenderObject): minor fix and link to more information ( #49992 )
2020-02-03 14:43:02 -08:00
Kate Lovett
8b600032ee
Fixing constraints.precedingScrollExtent passed to SliverPadding child ( #49433 )
2020-01-31 12:58:03 -08:00
Alexandre Ardhuin
b5f328e37e
remove unnecessary string interpolations ( #49622 )
2020-01-31 18:30:21 +01:00
Matthew Cliatt
9375377fa9
Fix handling backspace on macos with text selection ( #49760 )
...
Fixes #46150 by catching both the delete and backspace keys, rather than just the delete key.
2020-01-30 09:36:41 -08:00
liyuqian
2ccf3f877d
Print more layer debug info ( #49679 )
2020-01-30 09:33:01 -08:00
Gary Qian
52df599419
Expose TextHeightBehavior in Text, RichText, and DefaultTextStyle. ( #48346 )
2020-01-29 17:02:57 -08:00
Anthony
6a74be53b3
[a11y] Re-land Make sure RenderFractionalTranslation updates its semantics after the translation field is set ( #49708 )
...
Re-land Make sure RenderFractionalTranslation updates its semantics after the translation field is set
2020-01-29 13:05:49 -05:00
Tong Mu
da0a7d8b2e
MouseTracker no longer requires annotations attached ( #48453 )
2020-01-28 15:03:01 -08:00