liyuqian
b277534026
Assert cache hints are not set for null painters ( #49771 )
2020-02-10 10:03:03 -08:00
Greg Spencer
9fb781a54a
Update samples to work with Dartpad, and convert all that make… ( #50377 )
...
This PR modifies the existing API docs samples to use DartPad so that all of the samples are now interactive apps on the API docs site.
It also removes the restriction for the max width of the description area so that the dartpad region can expand horizontally.
I updated the first paragraph on the API docs to indicate that Flutter is more than just mobile now (same text as the README.md at the top level).
I modified a few of the examples so that they looked nicer, and fit better on the page.
I added the sample description text above each DartPad instance, since that often defines the context of the example.
I removed animations and images when they were redundant with the sample content. There were a few that made sense to keep, so I did.
2020-02-10 10:00:20 -08:00
Jonah Williams
2a6bc617b8
[framework] minimize performance effect of stateless/stateful swap ( #50394 )
2020-02-10 10:00:11 -08:00
Michael Goderbauer
95d6ef741c
Nested TickerMode cannot turn tickers back on ( #50355 )
2020-02-07 18:23:02 -08:00
Dan Field
8735ab1e35
Make onImage re-entrant safe ( #50316 )
2020-02-06 23:36:59 -08:00
David Shuckerow
2032760509
Explain how the scroll controller behaves under tests ( #50129 )
2020-02-06 15:58:02 -08:00
Dan Field
d94ff4bdbe
Fix LRUness of ScrollAwareImageProvider ( #50242 )
2020-02-06 13:19:46 -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
chunhtai
05eae42559
fix initial routes do not run secondary animation when pops ( #47476 )
2020-02-05 10:53:01 -08:00
creativecreatorormaybenot
7467bde424
Add Gamepad support for the activation action ( #49987 )
2020-02-04 16:33:02 -08:00
Chris Bracken
b236465bed
Revert "Track lastKnownRemoteTextEditingValue separately from received data ( #49406 )" ( #50082 )
...
This change broke some internal tests that set the text editing value to
the same thing (the empty string) twice in a row. Note that in that
case, the developer had subclassed EditableTextState and overridden the
updateEditingValue method, which may or may not be relevant to the
failure.
This reverts commit 83d4d63a716ec8551f0d59f852a40925ddd73d8a.
2020-02-03 20:40:10 -08:00
Dan Field
26619b3c35
Reland #49925 ( #50071 )
...
* Reland "Fix custom Elements that wants to decorate State.build (#49925 )" (#50068 )"
This reverts commit 62fdcb031945c23dacb481bd464cbea8ec9037d4.
Updates stack filtering for new frames in stateful element
2020-02-03 20:39:49 -08:00
Jenn Magder
62fdcb0319
Revert "Fix custom Elements that wants to decorate State.build ( #49925 )" ( #50068 )
...
This reverts commit a1143d174f0e97b1fb831bcf87f438d07f2351d7.
2020-02-03 16:42:47 -08:00
Remi Rousselet
a1143d174f
Fix custom Elements that wants to decorate State.build ( #49925 )
2020-02-03 14:38:07 -08:00
Dan Field
8600d2305e
Image provider fix ( #49920 )
...
* Fix image provider missing early return
* test
* comments
* whitespace, another comment
2020-01-31 19:19:48 -08:00
Dan Field
a1aa3c5b3d
Reland elide long tree walks ( #49891 )
2020-01-31 19:18:03 -08:00
Kate Lovett
bc8bfb10f8
Exposing inner controller of NestedScrollView ( #49004 )
2020-01-31 12:53:03 -08:00
chunhtai
2dc71a343f
reland Refactors global key duplication detection ( #49896 )
...
* reland "Refactors global key duplication detection (#46183 )"
This reverts commit d2b66dbfcfdad68473fc4366e3042cd2e17706ac.
* fix test
2020-01-31 12:51:42 -08:00
Alexandre Ardhuin
b5f328e37e
remove unnecessary string interpolations ( #49622 )
2020-01-31 18:30:21 +01:00
Shi-Hao Hong
effc019054
Revert "Elide tree walks ( #48413 )" ( #49886 )
...
This reverts commit 46ccd086745bb9ade53f2457f3bb91942b2af970.
2020-02-01 00:20:04 +08:00
Dan Field
46ccd08674
Elide tree walks ( #48413 )
2020-01-31 07:09:44 -08:00
Gary Qian
83d4d63a71
Track lastKnownRemoteTextEditingValue separately from received data ( #49406 )
2020-01-30 18:10:36 -08:00
Jonah Williams
d2b66dbfcf
Revert "Refactors global key duplication detection ( #46183 )" ( #49847 )
...
This reverts commit 340b193f20e85f2cfbebf84fe315112985a38a13.
2020-01-30 17:02:16 -08:00
chunhtai
340b193f20
Refactors global key duplication detection ( #46183 )
2020-01-30 14:23:02 -08:00
Greg Spencer
e7baef08a1
Use DiagnosticableMixin instead of Diagnosticable for some conditionals. ( #49726 )
...
This PR fixes #49647 by changing DiagnosticableMixin.toDiagnosticsNode and other things to accept DiagnosticableMixin instead of requiring Diagnosticable.
2020-01-30 14:18:09 -08:00
Dan Field
169529c370
Defer image decoding when scrolling fast ( #49389 )
2020-01-30 11:38:00 -08:00
chunhtai
406d8f7f1e
Fix focus when popping pages ( #49714 )
...
Fixes the focus handling when popping pages so that when multiple pages are popped, the focus doesn't try to focus the interstitial pages.
2020-01-30 09:35:58 -08:00
Jonah Williams
58811028a4
[flutter] Allow hot reload replacements of Stateless/Stateful Widget ( #48932 )
2020-01-30 07:58:03 -08:00
Gary Qian
52df599419
Expose TextHeightBehavior in Text, RichText, and DefaultTextStyle. ( #48346 )
2020-01-29 17:02:57 -08:00
Dan Field
7aec9b4602
Avoid calling didChangeDependences on a State that has dropped out of the tree ( #49527 )
2020-01-29 14:33:01 -08:00
chunhtai
de7da494a1
Navigator 2.0: Refactor the imperative api to continue working in the new navigation system ( #44930 )
2020-01-29 13:43:02 -08:00
Tong Mu
da0a7d8b2e
MouseTracker no longer requires annotations attached ( #48453 )
2020-01-28 15:03:01 -08:00
Dan Field
fabeb2a16f
Revert string interp ( #49602 )
2020-01-28 07:56:51 -08:00
Michael Goderbauer
bc5ea0a05a
Reland "Do not rebuild Routes when a new opaque Route is pushed on top" ( #49376 )
2020-01-27 23:56:41 -08:00
joellurcook
cf86592c23
Run secondary animation of previous route when using pushReplacement(… ( #42100 )
2020-01-27 10:33:03 -08:00
Dan Field
bcfc293ca9
recommendDeferredLoading ( #49319 )
2020-01-25 01:18:03 -08:00
Hans Muller
bc5c46438a
Migrate TextTheme to 2018 APIs ( #48547 )
2020-01-24 19:03:01 -08:00
齐翊
3ae0345e72
[bugfix] SliverGeometry is not valid: The "layoutExtent" is negative ( #48947 )
2020-01-24 10:23:03 -08:00
Alexandre Ardhuin
92cbaa3efe
remove unnecessary string interpolations ( #49352 )
2020-01-23 20:43:01 -08:00
Greg Spencer
57e81894b2
Guard against a null navigator on popping a route. ( #49329 )
2020-01-23 20:23:02 -08:00
Maurice Parrish
52c665d23f
Revert "Do not rebuild Routes when a new opaque Route is pushed on top ( #48900 )" ( #49366 )
...
This reverts commit 8eecdbe823ea09dd723a8af34c7c275e5536d728.
2020-01-23 11:32:04 -08:00
Alexandre Ardhuin
4fd19aa189
fix multiline FlutterError ( #49280 )
2020-01-22 13:03:03 -08:00
chunhtai
14fc0e5ca8
soft transition for the mustcallsuper in Element forgetChild ( #49246 )
2020-01-22 11:03:01 -08:00
shihchanghsiungsonos
379c3f4652
Fix the issue of TextSelection could misbehave inside a Nested Overlay ( #49257 )
2020-01-22 10:54:22 -08:00
Alexandre Ardhuin
3800bb7b10
fix missing spaces in adjacent strings ( #49159 )
2020-01-21 16:43:03 -08:00
David Shuckerow
4c32ae8e91
Grammar fix: "it's" -> "its" ( #48913 )
2020-01-21 16:33:02 -08:00
Michael Goderbauer
8eecdbe823
Do not rebuild Routes when a new opaque Route is pushed on top ( #48900 )
2020-01-21 16:24:17 -08:00
Wu Zhong
b5a23fdf5b
Fix comment typo ( #49129 )
2020-01-21 10:11:09 -08:00