- 15 Oct, 2021 1 commit
-
-
Ian Hickson authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 04 Oct, 2021 1 commit
-
-
Greg Spencer authored
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.
-
- 28 Sep, 2021 1 commit
-
-
Greg Spencer authored
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.
-
- 27 Aug, 2021 1 commit
-
-
Craig Labenz authored
* 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
-
- 26 Aug, 2021 1 commit
-
-
creativecreatorormaybenot authored
-
- 25 Aug, 2021 1 commit
-
-
Greg Spencer authored
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
-
- 12 Aug, 2021 1 commit
-
-
Greg Spencer authored
Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples. This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo. The snippets code is deleted in this PR. I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place. The snippets package resides in the assets-for-api-docs repo. The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
-
- 03 Aug, 2021 1 commit
-
-
Jonah Williams authored
-
- 15 Jul, 2021 1 commit
-
- 14 Jul, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 31de052e.
-
Ian Hickson authored
-
- 13 Jul, 2021 2 commits
-
-
Ian Hickson authored
This reverts commit e2490f29.
-
Ian Hickson authored
-
- 24 Jun, 2021 1 commit
-
-
Jonah Williams authored
-
- 14 Jun, 2021 1 commit
-
-
Greg Spencer authored
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated. Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
-
- 12 Jun, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 08 Jun, 2021 1 commit
-
-
Dan Field authored
-
- 07 Jun, 2021 1 commit
-
-
Dan Field authored
-
- 02 Jun, 2021 2 commits
-
-
Dan Field authored
- 01 Jun, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 11 May, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 10 May, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 07 May, 2021 4 commits
-
-
Hans Muller authored
This reverts commit 3ab799bb.
-
Dan Field authored
-
Michael Goderbauer authored
-
Todd Volkert authored
-
- 26 Apr, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 15 Apr, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 08 Apr, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 03 Apr, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 02 Apr, 2021 1 commit
-
-
Mateus Felipe C. C. Pinto authored
-
- 31 Mar, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 29 Mar, 2021 2 commits
-
-
Michael Goderbauer authored
-
- 27 Mar, 2021 1 commit
-
-
YeungKC authored
Let InkWell/Ink/ancestor support GlobalKey so that splash does not stop when changing position. (#71138)
-