1526 Commits

Author SHA1 Message Date
Ian Hickson
d7883e3fb0
Clean up some test formatting and comments (#63306) 2020-08-11 06:16:03 -07:00
Michael Goderbauer
25de941927
Make Scrollables restorable (#63131) 2020-08-10 21:01:10 -07:00
Ian Hickson
a49ba95af8
Some minor improvements to the AsyncSnapshot API (#63347) 2020-08-10 11:11:02 -07:00
xubaolin
ba92cbedd8
fix SingleChildScrollView clip bug (#63054) 2020-08-10 10:46:04 -07:00
Ian Hickson
5d91d0484c
Unskip a widget inspector test that doesn't seem flaky anymore. (#62824) 2020-08-08 15:31:04 -07:00
creativecreatorormaybenot
96b6aafb49
Add onTertiaryTap* to TapGestureRecognizer and GestureDetector (#62788) 2020-08-08 15:21:02 -07:00
Jonah Williams
c2e85e67c9
[null-safety] remove more usage of mockito from the framework tests (#62936) 2020-08-07 20:31:08 -07:00
chunhtai
f9fd71bc78
Implement Router widget and widgets app api (#60299) 2020-08-07 20:26:05 -07:00
Pascal Welsch
12b8d9db80
Reduce iOS scroll damping for lists with differently sized items (#59623) 2020-08-07 20:21:07 -07:00
Kate Lovett
79146fd0a6
Fix SliverList scrollOffsetCorrection 0 case (#62615) 2020-08-06 16:11:16 -07:00
Norbert Kozsir
848cb83b83
Make _isLocalCreationLocation public (#62891) 2020-08-06 09:06:07 -07:00
Justin McCandless
d69ddc47f3
Incomplete app widget error (#63005) 2020-08-05 19:31:03 -07:00
Ian Hickson
522d19e2ad
Unskip the bidi semantics test. (#62823) 2020-08-05 19:21:11 -07:00
Hans Muller
6338181428
Remove old button references from routes_test (#63013) 2020-08-05 15:26:10 -07:00
creativecreatorormaybenot
b631013a87
Fix GestureDetector long press callback handling (#62897)
* Allow GestureDetector to use long press and secondary long press at the same time.
2020-08-05 15:22:41 -07:00
includecmath
3c12279f50
[widgets] Refactor Overlay insert methods entries assert (#62407) 2020-08-05 14:46:51 -07:00
Jonah Williams
732083018c
[null-safety] remove mockito from text control a11y test (#62869) 2020-08-04 16:56:03 -07:00
Jonah Williams
428be90768
[null-safety] revert export of Fake from test_api (#62894) 2020-08-04 14:31:05 -07:00
Jonah Williams
9be31e26ef
[null-safety] remove quiver from flutter tests (#62866) 2020-08-04 14:26:04 -07:00
Ian Hickson
4a4e9bad84
Enable a scrolling fling test. (#62825) 2020-08-04 12:46:07 -07:00
LongCatIsLooong
3bc3ea51ed
longestLine layout width (#62657) 2020-08-04 12:43:17 -07:00
Jonah Williams
32144161ae
[null-safety] remove some usages of mockito (#62809) 2020-08-04 08:26:12 -07:00
Pierre-Louis
52299fa34f
Cache floating cursor location on start event instead of update (#62415) 2020-08-03 10:26:07 -07:00
chunhtai
8663b3c4bf
Reland "remove usage to applyTextScaleFactorToWidgetSpan" (#62587)
This reverts commit 561735ad89a14c63597f9acb77d447c7e0ed4fec.
2020-07-31 10:18:20 -07:00
Nolan Scobie
19f8fb1cac
Fix SemanticsNode.rect position for nested scrollables with useTwoPaneSemantics (#62359) 2020-07-31 09:46:06 -07:00
xubaolin
aa1acd8e54
Ignore unmounted parent when _debugVerifyGlobalKeyReservation for GlobalKey check (#62323)
* Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)

* Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)

* Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)

* Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)

* Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)

* Ignore unmounted parent when _debugVerifyGlobalKeyReservation (#62055)
2020-07-30 10:07:18 -07:00
Tong Mu
5398f5c566
Add tests for platform views' hover behavior (#61667) 2020-07-29 14:47:06 -07:00
Hans Muller
6139708eaf
Added OverflowBar widget (#62350) 2020-07-29 13:41:04 -07:00
Justin McCandless
a4d570f0dd
SelectableText handles after Select All (#62072) 2020-07-29 08:26:05 -07:00
Rami
0a69e810b1
[Material] Add support for high contrast theming to Material apps (#62337) 2020-07-29 08:06:06 -07:00
Darren Austin
2856d663d5
Updated the framework tests to use the new button API. (#62220) 2020-07-28 15:21:06 -07:00
Kate Lovett
9bf1793a10
Fix crossSize for baseline (#62074) 2020-07-28 10:36:15 -07:00
LongCatIsLooong
fe88a88a5a
Autofill save (#58731) 2020-07-28 10:23:17 -07:00
Yuqian Li
7c942e390f
Add a test for 3D transform with needsCompositing (#61779) 2020-07-28 10:21:08 -07:00
Michael Goderbauer
175e5c9aca
Restoration Framework (#60375)
* state restoration

* added example

* typos and analyzer

* whitespace

* more typos

* remove unnecessary import

* whitespace

* fix sample code

* tests for restorationmanager and restorationid

* ++

* typo

* tests for bucket, part1

* rename tests

* more tests

* finished tests for service layer

* remove wrong todo

* ++

* review comments

* tests for Unmanaged and regular scope

* RootRestorationScope tests

* typo

* whitespace

* testing framework

* tests for properties

* last set of tests

* analyzer

* typo

* dan review

* whitespace

* ++

* refactor finalizers

* ++

* ++

* dispose guard

* ++

* ++

* dan review

* add manager assert

* ++

* analyzer

* greg review

* fix typo

* Ian & John review

* ian review

* RestorationID -> String

* revert comment

* Make primitives non-nullable in prep for NNBD
2020-07-28 10:16:36 -07:00
chunhtai
734782f5d7
clean up hero controller scope (#60655) 2020-07-28 10:11:09 -07:00
Daniel Iglesia
0fdb21f31f
Adds an onMove callback on a DragTarget. (#60174) 2020-07-28 09:56:09 -07:00
Todd Volkert
6e252772d1
Add support for system alert sound (#62086)
* Add SystemSoundType.alert (supported in the engine in flutter/engine#19970)
* Play system alert sound when user tries to dismiss a non-dismissable modal
  barrier
2020-07-24 15:49:41 -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
Greg Spencer
cac22cdb08
Fix ExcludeFocus so it won't refocus a sibling of the focused node. (#61756)
This changes FocusNode.descendantsAreFocusable so that it doesn't allow the enclosing scope to re-focus a node that is a descendant of the node with descendantsAreFocusable set to false.

Because of the order in which the internal state for descendantsAreFocusable was being set, setting it to false was causing a sibling node to be focused when descendantsAreFocusable of the parent was set to false, even though it shouldn't have been focusable, because the enclosing scope would search for a candidate to be focused before the internal state was set to false.

Instead of looping over the children and telling them all to unfocus (and select the previously focused node), this unfocuses the node that has descendantsAreFocusable set to false, with the disposition UnfocusDisposition.previouslyFocusedChild, so that its enclosing scope will look for a previously focused child that isn't part of the subtree being excluded.

This affects how the ExcludeFocus widget behaves when turning on exclude.
2020-07-23 08:27:53 -07:00
Abdur Rafay Saleem
b8df8a8368
Allowed specifying reverseTransitionDuration in PageRouteBuilder class (#61752) 2020-07-22 18:41:09 -07:00
chunhtai
c816fabd0a
remove usage to applyTextScaleFactorToWidgetSpan (#61636) 2020-07-22 18:41:06 -07:00
Todd Volkert
67a9ae173b
Update Actions.invoke to return the result of invoking the action. (#62012)
The boolean value as to whether the action was found and enabled
is less useful than just returning the result of invoking the action
itself.
2020-07-22 18:27:38 -07:00
David Martos
6d303af97e
Use the correct Transform in the WidgetInspector overlay (#59566) (#60990) 2020-07-22 18:26:07 -07:00
Pierre-Louis
5d854f63a0
Implement customizable cursor height (#61714) 2020-07-21 07:36:03 -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
Bogdan Lukin
9ef8192760
Fix/decoration equality (#61551) 2020-07-16 11:26:04 -07:00