1610 Commits

Author SHA1 Message Date
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
Jonah Williams
38e0c25823
[flutter_tools] reland: enable --null-assertions for flutter framework tests (#64120)
Reland of acdb909 with fixes to semantics.dart

#61042
2020-08-19 13:25:42 -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
Andre
9e0ad9b6b5
Fix FittedBox BoxFit.scaleDown sizing (#63668) 2020-08-17 22:36:02 -07:00
chenjianguang
f45cdd57e2
Add debug flag debugProfileLayoutsEnabled. (#63652) 2020-08-17 10:36:03 -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
Nolan Scobie
ede1b15b76
Add viewport documentation breadcrumbs (#63192) 2020-08-14 15:56:02 -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
Kate Lovett
79146fd0a6
Fix SliverList scrollOffsetCorrection 0 case (#62615) 2020-08-06 16:11:16 -07:00
chunhtai
8663b3c4bf
Reland "remove usage to applyTextScaleFactorToWidgetSpan" (#62587)
This reverts commit 561735ad89a14c63597f9acb77d447c7e0ed4fec.
2020-07-31 10:18:20 -07:00
Tong Mu
5398f5c566
Add tests for platform views' hover behavior (#61667) 2020-07-29 14:47:06 -07:00
Michael Goderbauer
88a7d83a32
fix unresolved doc references in widgets - part 2 (#62499) 2020-07-29 14:27:12 -07:00
Michael Goderbauer
81087ef2b6
Fix "unresolved doc reference" in widgets layer - part 1 (#62452) 2020-07-28 19:55:16 -07:00
Michael Goderbauer
f4e10b4fb5
Make dartdoc warnings fatal (& cleanup of warnings) (#62367) 2020-07-28 16:11:04 -07:00
Michael Goderbauer
fe05cfbe6c
Fix "unresolved doc reference" in rendering layer (#62443) 2020-07-28 15:13:55 -07:00
Pragya
c867a1ed23
Updated 'CustomClipper.shouldReclip' doc (#62101) 2020-07-28 10:51:06 -07:00
Darren Austin
c14e328c26
Updated references to the old button classes to the new ones in comments and documentation for classes in the widgets, services and rendering libraries. (#62099) 2020-07-28 10:46:10 -07:00
Kate Lovett
9bf1793a10
Fix crossSize for baseline (#62074) 2020-07-28 10:36:15 -07:00
Kate Lovett
d1411a1626
Remove unused FlutterErrorDetails subclasses (#61579) 2020-07-24 15:36:08 -07:00
chunhtai
561735ad89
Revert "remove usage to applyTextScaleFactorToWidgetSpan (#61636)" (#62144)
This reverts commit c816fabd0af48a861afdeb78bb6ebe4b7cbd3707.
2020-07-23 10:35:21 -07:00
LongCatIsLooong
64173f75c3
Check if a double is NaN before converting to it int (#61940) 2020-07-23 08:31:08 -07:00
Michael Goderbauer
8e58c51d1a
Update viewport dimensions when scrollDirection changes (#61973) 2020-07-23 08:30:26 -07:00
Michael Goderbauer
4b4287ba78
Make it an error to break macros in docs (and fix existing broken macros) (#62071) 2020-07-23 08:29:46 -07:00
chunhtai
c816fabd0a
remove usage to applyTextScaleFactorToWidgetSpan (#61636) 2020-07-22 18:41:06 -07:00
chunhtai
c44e5a32b5
Revert "InkDecoration do not paint if it's part of the tree doesn't get painted (#61216)" (#61963)
This reverts commit fdf87edd2fadb3ba3219d23792f0210384533e1b.
2020-07-21 09:35:40 -07:00
Pierre-Louis
5d854f63a0
Implement customizable cursor height (#61714) 2020-07-21 07:36:03 -07:00
xubaolin
fdf87edd2f
InkDecoration do not paint if it's part of the tree doesn't get painted (#61216) 2020-07-20 18:56:04 -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
Chris Yang
30e556ddc5
Add no-op callbacks to platform view gesture recognizer when necessary (#61671)
After #31935, Some one sequence gesture recognizers requires at least one callback to be able to compete in the arena. This PR adds the a no-op callback in the gesture recognizer in the platform view when the gesture recognizer does not have any callbacks. This way, all the gesture recognizers in the platform view can compete in the arena.
2020-07-17 12:13:22 -07:00
Todd Volkert
5587ca17e8
Add assert in PictureLayer.addToScene() (#61655)
SceneBuilder.addPicture() is implemented in C++, and if `picture`
is null, it will seg-fault. This catches the problem before that
happens.
2020-07-16 23:14:56 -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
6e0bc30e84
Document the mapping of system mouse cursors on Windows and Linux (#61399)
Add document for mouse cursor mapping on Windows and Linux.
2020-07-15 10:02:22 -07:00
Andre
06a35b3322
Improve error reporting for RenderObject visitChildren errors (#61455)
* Improve error reporting for RenderObject visitChildren errors

* Nits and fixes
2020-07-14 14:21:14 -04:00
Todd Volkert
b58c3f0852
Update documentation (#61424) 2020-07-14 10:25:24 -07:00
Tong Mu
da8695d389
Mouse events report correct local positions (#61190) 2020-07-13 13:26:03 -07:00
Tong Mu
d4b4eeed7d
Add all system cursors (framework) (#60931) 2020-07-09 14:01:03 -07:00
chunhtai
496ef4f77e
prevents sliver app bar from changing semantics tree when it is not necesaary (#61012) 2020-07-08 18:21:08 -07:00
Kate Lovett
3176232cb4
Doc and Error Message Improvements (#60726) 2020-07-07 17:49:03 -07:00
zljj0818
11ff938af5
Added a filterQuality parameter to texture (#59966) 2020-07-07 17:39:04 -07:00
Tong Mu
6f4c4b3cf8
Refactor mouse hit testing system: Direct mouse hit test (#59883) 2020-07-06 17:44:02 -07:00
Maurice Parrish
dcbc694b58
Have AndroidViewController extend PlatformViewController and add support for hybrid platform views (#60320) 2020-07-05 11:43:02 -07:00
Dan Field
06d0cd514e
Allow detection of images using more memory than necessary (#59877) 2020-06-26 15:34:41 -07:00
chunhtai
62378a3755
fix ink feature tries to get parent transformations when it is in the… (#60129) 2020-06-24 13:53:01 -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
chunhtai
3a15841d94
reland "fix the widget span layout when text scale factor != 1" and h… (#60021) 2020-06-23 15:18:02 -07:00
chunhtai
4953cbce23
Fix the layout calculation in sliver list where the scroll offset cor… (#59888) 2020-06-23 11:18:01 -07:00