Commit Graph

51 Commits

Author SHA1 Message Date
Michael Goderbauer
885a1482f8 Revert "Mixin for slotted RenderObjectWidgets and RenderBox (#94077)" (#94620)
This reverts commit 988959dad9.
2021-12-03 10:39:11 -08:00
Michael Goderbauer
988959dad9 Mixin for slotted RenderObjectWidgets and RenderBox (#94077) 2021-12-03 09:29:06 -08:00
Darren Austin
418cd95661 Added material_color_utilities as a dependency for flutter package. (#94377) 2021-12-01 14:19:04 -08:00
Nate Bosch
6d1a840bc5 Roll packages, remove unnecessary overrides (#94172) 2021-11-24 14:43:05 -08:00
Mouad Debbar
30b6b9e7f0 Revert "Update Xcode toolsVersion encoded in generated Main.storyboard (#94084)" (#94164)
This reverts commit 6a3ea7eb83.
2021-11-24 10:12:53 -05:00
Jenn Magder
6a3ea7eb83 Update Xcode toolsVersion encoded in generated Main.storyboard (#94084) 2021-11-23 17:38:02 -08:00
Andrei Diaconu
924336fcee Reland 3: Display Features (#93240) 2021-11-20 15:48:06 -08:00
Taha Tesser
7dcdfe6304 Add CupertinoButton interactive example (#93625) 2021-11-16 15:08:05 -08:00
gaaclarke
f23e515861 Fatten up multiple_flutters memory footprint (#93350)
Increased the memory size of multiple_flutters to help identify regressions in performance

This is not a regression and will affect benchmark's readings.
2021-11-12 11:11:44 -08:00
Darren Austin
e685c938a3 Replaced the reference to primaryVariant in code example as it will soon be deprecated. (#93351) 2021-11-09 17:49:40 -08:00
Hans Muller
f4f23ecb59 Added SharedAppData to the widgets library (#93175) 2021-11-08 12:27:14 -08:00
Zachary Anderson
2468f315e0 Revert "Reland: display features (#93117)" (#93204)
This reverts commit 9038fac960.
2021-11-06 22:46:46 -07:00
Hans Muller
0815da4d38 Revert "Added widgets/AppModel" (#93161) 2021-11-05 16:13:03 -07:00
Andrei Diaconu
9038fac960 Reland: display features (#93117) 2021-11-05 15:54:25 -07:00
Jacob MacDonald
a4fa2affe9 Update packages (#92924) 2021-11-05 12:03:03 -07:00
Zachary Anderson
7779ad3c60 Revert "Reland engine display features (#89511)" (#93098)
This reverts commit 058dfd49a0.
2021-11-04 23:05:45 -07:00
Andrei Diaconu
058dfd49a0 Reland engine display features (#89511) 2021-11-04 18:37:55 -07:00
Hans Muller
389a12f4e0 Added widgets/AppModel (#92297) 2021-11-03 20:23:02 -07:00
Taha Tesser
6fc988146b [ReorderableListView] Update doc with example to make it clear proxyDecorator can overriden to customise an item when it is being dragged. (#91837) 2021-11-03 17:36:50 -07:00
LongCatIsLooong
ffcd32ebb6 Move text editing Actions to EditableTextState (#90684) 2021-11-03 11:11:32 -07:00
Greg Spencer
5883a6628d Differentiate between TalkBack versions for semantics tests. (#92602)
Makes the android_semantics_testing test not fail for newer versions of Talkback.

Also, since the test now depends on pub_semver, upgraded the pubspec files.

The only substantive changes in the PR are in dev/integration_tests/android_semantics_testing/test_driver/main_test.dart
2021-10-29 16:38:09 -07:00
Taha Tesser
13d14f1843 [doc] Update suffixIcon/prefixIcon for alignment with code snippet (#91998) 2021-10-27 00:38:02 -07:00
Emmanuel Garcia
d7631275fe Bump targetSdkVersion to 31 and organize static values (#91719) 2021-10-15 13:41:48 -07:00
Bjarte Bore
64b0cfda3d Added support for MaterialState to InputDecorator (#91762) 2021-10-14 13:26:45 -07:00
Taha Tesser
abfcc84e58 [CupertinoTabBar] Add an official interactive sample (#91763) 2021-10-13 13:38:02 -07:00
Danny Tuppeny
f8f96a4f80 Run "flutter update-packages --force-upgrade" to get latest DDS (#91736) 2021-10-13 10:58:04 -07:00
Ian Hickson
bb5cbdc635 Enable depend_on_referenced_packages lint (#91653) 2021-10-12 11:28:02 -07:00
Ian Hickson
6d5fc420b6 Enable sort_child_properties_last lint (#91585) 2021-10-11 21:23:02 -07:00
Ian Hickson
61a0add286 Enable avoid_redundant_argument_values lint (#91409) (#91462) 2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0 Revert "Enable avoid_redundant_argument_values lint (#91409)" (#91461)
This reverts commit 5fd259be24.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24 Enable avoid_redundant_argument_values lint (#91409) 2021-10-07 20:13:02 -07:00
Zachary Anderson
5188df0821 Revert gradle roll (#91459)
* Revert "Mark last failing test after gradle update as flaky. (#91423)"

This reverts commit 46a52d03bd.

* Revert "fix android template for Gradle 7 (#91411)"

This reverts commit 51d06d537f.

* Revert "Add explicit version for mac and windows openjdk. (#91408)"

This reverts commit bf429f2771.

* Revert "Update the openjdk version used by linux android tests. (#91405)"

This reverts commit 2144ab8b45.

* Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642)"

This reverts commit b6459f9b63.
2021-10-07 19:42:24 -07:00
Hans Muller
7d9f7b4ca1 Revert "Added support for MaterialState to InputDecorator (#91182)" (#91448)
This reverts commit 1c374c6598.
2021-10-07 17:08:37 -07:00
Ian Hickson
f25b833f27 Enable avoid_print lint. (#91444) 2021-10-07 16:48:04 -07:00
Mouad Debbar
c2ea78d231 Revert "Enable avoid_print lint. (#91332)" (#91438)
This reverts commit cb378edc9e.
2021-10-07 16:16:17 -04:00
Ian Hickson
cb378edc9e Enable avoid_print lint. (#91332) 2021-10-07 09:53:03 -07:00
Taha Tesser
b6459f9b63 Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642) 2021-10-06 17:01:13 -07:00
Bjarte Bore
1c374c6598 Added support for MaterialState to InputDecorator (#91182) 2021-10-06 09:36:06 -07:00
Greg Spencer
8405868db4 Update outdated platform directories in examples (#91125)
The first of three or four changes to update the platform directories of the packages in the Flutter repo that have out date platform code.

This batch includes updating the flutter_view example, updating the sanity check numbers in analyze.dart, and adding some missing Podfiles in the examples. I also eliminated some trailing whitespace in the templates for Android.
2021-10-05 14:52:11 -07:00
Greg Spencer
983cbb273b Add example test, update example READMEs (#91130) 2021-10-04 13:53:02 -07:00
Greg Spencer
fd9ce27748 Clean up examples, remove section markers and --template args (#91133)
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder.

I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed.

I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
2021-10-04 12:16:17 -07:00
Ian Hickson
126cd7388e Clean up dependency pins and update all packages (#91109) 2021-10-04 10:28:03 -07:00
Christopher Fujino
afd84ad425 flutter update-packages (#90994) 2021-09-30 11:38:02 -07:00
Kenzie (Schmoll) Davisson
15967669b2 Add richMessage parameter to the Tooltip widget. (#88539) 2021-09-29 15:31:54 -07:00
Greg Spencer
ab2b0851a2 Add smoke tests for all the examples, fix 17 broken examples. (#89021)
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.

The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.

The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Jenn Magder
1b53f7beba Migrate iOS project to Xcode 13 compatibility (#90304) 2021-09-22 13:23:05 -07:00
Kate Lovett
65d8dd988d Update md5 method in flutter_goldens_client (#90154) 2021-09-15 17:42:05 -07:00
creativecreatorormaybenot
d4c3c7efcd Fix (Vertical)Divider samples & docs (#89062) 2021-09-08 15:32:04 -07:00
Chris Bracken
1c36271b05 Reduce required Windows CMake version to 3.14 (#89390)
When we landed the CMake minimum requirement constraint for Visual
Studio 2019, we landed it with minimum version 3.15, since that's what
was shipping with the current version of VS 2019 at the time. Looking at
the release notes of earlier versions, it's clear that earlier versions
of Visual Studio 2019 shipped with version 3.14. See:
https://devblogs.microsoft.com/cppblog/visual-studio-cmake-support-clang-llvm-cmake-3-14-vcpkg-and-performance-improvements/

Looking at release notes for CMake 3.15, there are no features/fixes
introduced in that version that we are dependent on.
https://cmake.org/cmake/help/latest/release/3.15.html

Issue: https://github.com/flutter/flutter/issues/88589
2021-09-03 21:05:58 -07:00
Craig Labenz
3a1b04952b fix: refactor Stepper.controlsBuilder to use ControlsDetails (#88538)
* changed controlsBuilder signature

combined all parameters into ControlsDetails class

* sample fixes

* updates to docstrings

* switched to positional argument for stepper.controlsbuilder

* Merge branch 'master' into stepper-builder-fix
2021-08-27 11:26:29 -07:00