6715 Commits

Author SHA1 Message Date
Michael Goderbauer
4fa4f91d5c
Remove required for onRemove in InteractiveInkFeature.create (#67427) 2020-10-06 12:31:25 -07:00
Michael Goderbauer
582c67a125
Make CupertinoTabView restorable (#67169) 2020-10-06 11:03:13 -07:00
Alexandre Ardhuin
f551178408
migrate material to nullsafety (#67166)
* migrate material to nullsafety

* address review comments

* address review comments

* fix build
2020-10-06 11:36:50 +02:00
Michael Goderbauer
b3bd9e6924
Migrate more tests to null safety (#67360) 2020-10-05 19:52:03 -07:00
Michael Goderbauer
8998167d0f
Make FlutterErrorDetails.exception non-nullable as documented (#67364) 2020-10-05 18:07:02 -07:00
Ming Lyu (CareF)
277a72e3fe
move resampler to handlePointerEvent and fix complex_layout_android__scroll_smoothness with PointerEvent (#66745) 2020-10-05 17:17:03 -07:00
Kate Lovett
64c845c579
Re-land ScaffoldMessenger (#66504) 2020-10-05 18:59:12 -05:00
Darren Austin
2f74e30511
Fixed a problem with invalid dates when switching back to calendar mode in the date range picker. (#67159) 2020-10-05 16:05:48 -07:00
Justin McCandless
19b2aea608
InteractiveViewer table example improvements (#67314)
Improving IV table docs due to confusion in an issue.
2020-10-05 16:04:56 -07:00
Kratos
b1df925b3c
Update documentation for borderWidth/renderBorder on ToggleButtons (#67290) 2020-10-05 14:47:03 -07:00
Alexandre Ardhuin
304e2c57d2
fix nullability issues (#67306) 2020-10-05 14:37:04 -07:00
Michael Goderbauer
c14ab91fe5
Reland "migrate some material files to nullsafety (#67078)" (#67318) 2020-10-05 13:54:36 -07:00
Abhishek Ghaskata
3a00c4e73c
change the documentation of bottom navigation bar (#67218) 2020-10-05 12:22:03 -07:00
Kate Lovett
b42cf8a75b
[NNBD] Migrate some Cupertino tests (#67086) 2020-10-05 12:17:03 -07:00
Tong Mu
2cdf2f0059
Treat hover events as normal pointer events, and bring them back to Listener (#63834) 2020-10-05 12:12:04 -07:00
Dan Field
2cdec25877
Reland dispose images when done (#67100) (#67177)
* Reland dispose images when done (#67100)

Changes since last time:

- Test for CanvasKit image rendering
  (https://github.com/flutter/flutter/pull/67176)
- Fix CanvasKit dispose impl
  (https://github.com/flutter/engine/pull/21555)
- Update internal google3 customer with a problematic ImageStream
  Listener impl (cl/335091311, cl/335459002)

This reverts commit 473358d93dd9522970afa82512a4d05685345b3b.
2020-10-05 12:03:27 -07:00
Tong Mu
5e97eed895
Migrate foundation test to nullsafety (#62616)
* Migrate
2020-10-05 00:42:50 -07:00
Michael Goderbauer
a0a65fc604
Revert "migrate some material files to nullsafety (#67078)" (#67183)
This reverts commit 81439922626f955a532c02180491bc7f3524baf2.
2020-10-03 04:54:45 -07:00
Tong Mu
74fe6bff84
Lazily compute PointerEvent's transformed positions (#63813)
* PointerEvent.local* properties are calculated lazily; other properties are delegated to original.
* Transformed PointerEvent becomes a subclass of its original class.
* Unnamed constructors no longer accepts transform and origin.
2020-10-02 15:09:23 -07:00
Alexandre Ardhuin
8143992262
migrate some material files to nullsafety (#67078)
* migrate some material files to nullsafety

* review
2020-10-02 23:10:29 +02:00
David Reveman
371667ec94
Fix resampling of down, up, and remove events. (#67080)
This adds the neccessary synthetic move/hover events to
resampler, which is needed for position to not change as
part of a down, up, or remove event.

Co-authored-by: David Reveman <reveman@google.com>
2020-10-02 16:16:57 -04:00
Michael Goderbauer
fc85492d7c
Make Navigator restorable (inkl. WidgetsApp, MaterialApp, CupertinoApp) (#65658) 2020-10-02 11:42:02 -07:00
Jason Simmons
70973e0214
Handle empty selection box lists in RenderParagraph.assembleSemanticsNode (#67017) 2020-10-02 10:57:05 -07:00
Rami
9e715205b7
[Time Picker] Double tapping hours/minutes will switch time picker to input mode (#67076) 2020-10-02 13:53:36 -04:00
Dan Field
473358d93d
Revert dispose images when done (#67100)
* Revert "docs for image disposal (#67066)"

This reverts commit bcb2ac5a55b90b2ccfd50de4684c0cbb8aca9290.

* Revert "Dispose of images after using them (#66688)"

This reverts commit a7954691dad4788f985cf17e81ce6c474a72e84e.
2020-10-01 16:53:50 -07:00
Dan Field
bcb2ac5a55
docs for image disposal (#67066) 2020-10-01 14:14:15 -07:00
Dan Field
a7954691da
Dispose of images after using them (#66688)
* Dispose of images after using them
Adds ImageInfo.clone, ImageInfo.dispose, and ImageInfo.isCloneOf.
Makes all stateful holders of ui.Image objects properly clone and dispose of them.
Behavior change for ImageStreamCompleter: Removing the last listener after registering at least one listener results in the object being disposed, and new listeners cannot be added, unless a keepAlive handle is created.
Makes all non-stateful holders of ui.Image (i.e. paintImage and RawImage) assert that whoever gave the image to them has not disposed it on them.
2020-10-01 09:48:54 -07:00
Rami
79400b2462
[Material] Update some semantics for time picker controls (#66652) 2020-10-01 09:06:46 -04:00
Alexandre Ardhuin
9d41ddcbac
migrate some material files to nullsafety (#66985)
* migrate some material files to nullsafety

* fix test_private

* address review comments

* fix private test on windows

* use uri in include entry of analysis_options
2020-10-01 08:01:58 +02:00
Phil Quitslund
d3155658bc
API docs for typedefs. (#67003) 2020-09-30 19:32:02 -07:00
Madhur Maurya
2de1c8da47
Nested Scaffolds Documentation Improvement (#66972) 2020-10-01 07:55:15 +08:00
Anhad Singh
64a23504bb
Added transformAlignment for container (#66201) 2020-09-30 14:55:58 -07:00
Pedro Massango
f800a67ee4
[fix] once errorBuilder is called Image widget stops loading images (#65180) 2020-09-30 14:53:05 -07:00
Dan Field
e8812c409b
Revert "Improve the behavior of Scrollable.ensureVisible when Scrollable nested (#65226)" (#66918)
This reverts commit 73b6398932b3142a6e2f479327c50c5aa613a680.
2020-09-29 16:11:30 -07:00
Daniel Edrisian
6501f1b5cf
Allow modifying barrier color and barrier dismissible for Cupertino Modal Popup (#66692) 2020-09-29 15:37:04 -07:00
Alexandre Ardhuin
e605b7c225
migrate some material files to nullsafty (#66858)
* migrate some material files to nullsafty

* address review comments
2020-09-29 22:51:21 +02:00
Konstantin Scheglov
d227788a53
Move assert(s) that reference 'this' to the constructor bodies. (#66914) 2020-09-29 11:47:21 -07:00
Alexander Brusher
d693d2b9d2
Adds getter/setter for slider semantics flag. (#65766) 2020-09-29 09:29:36 -07:00
Justin McCandless
d2c47acdaa
GlobalKey docs improvement (#66834)
Improve GlobalKey docs by mentioning a pitfall that some users had where the instantiated it in the build method.
2020-09-29 08:40:26 -07:00
Yuqian Li
9d7bdb5903
Default FittedBox's clipBehavior to none (#66700)
This is a continuation of https://github.com/flutter/flutter/pull/61366
after cl/333620714

See also https://flutter.dev/go/clip-behavior
2020-09-28 22:46:21 -07:00
LongCatIsLooong
cd6279c1ec
fix _getPixelPerfectCursorOffset logic when infinite (#66845) 2020-09-28 20:37:04 -07:00
Jonah Williams
2d37e086ca
[desktop] default to shrink wrap on desktop platforms (#66754) 2020-09-28 14:27:02 -07:00
Alexandre Ardhuin
a01113de88
migration of material files to nullsafety (#66633) 2020-09-28 13:57:04 -07:00
Pieter van Loon
fa109c49b1
Sliver padding overlap fix (#65323) 2020-09-28 12:22:07 -07:00
Pedro Massango
10f6284426
Add back the autovalidate class property (#66267)
* Add back autovalidate property

* Add autovalidate property back (include tests)

* Fix typos

* One more test :)
2020-09-28 09:27:16 -07:00
Jose Alba
8db31a556b
Divider with subheader example update (#65944)
* Divider with subheader example update

* fixed issues

* Addressed comments

* fixed issues
2020-09-28 14:32:00 +02:00
xubaolin
73b6398932
Improve the behavior of Scrollable.ensureVisible when Scrollable nested (#65226) 2020-09-27 20:07:32 -07:00
Michael Goderbauer
062e469f1b
Page-subclasses to take children instead of builder (#66694) 2020-09-27 15:32:07 -07:00
Alexandre Ardhuin
eca0cf38ca
fix the tree (#66783) 2020-09-27 23:04:30 +02:00
Alexandre Ardhuin
c2e43403af
apply upcoming lint cast_nullable_to_non_nullable (#66455)
* apply upcoming lint cast_nullable_to_non_nullable

* make RenderObjectElement.renderObject non-nullable
2020-09-27 21:29:42 +02:00