- 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.
-
- 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.
-
- 08 Jul, 2021 1 commit
-
-
Mohammad Ghalayini authored
-
- 14 Apr, 2021 1 commit
-
-
Hans Muller authored
-
- 13 Apr, 2021 1 commit
-
-
Hans Muller authored
This reverts commit 17870d5d.
-
- 12 Apr, 2021 1 commit
-
-
Hans Muller authored
-
- 31 Mar, 2021 1 commit
-
-
Craig Labenz authored
* added MaterialStateBorderSide.resolveWith (Partially) Resolves #68596 * responded to comment nits * reversed changes to text_buttons * added test confirming compatibility with chips * added MaterialStateBorderSide test for chip * added intended usage for MaterialStateXYZ classes * another docstring update * corrected error in use case * made resolvewith samples closures * refined materialstatecolor example in docstring * changed nullability in docstring and added null test * added missing type in test * fixed another typo in docstrings
-
- 12 Mar, 2021 2 commits
-
-
Tong Mu authored
-
Greg Spencer authored
Update samples to use repo analysis options, Fix sample templates and a ton of analyzer issues (#77868)
-
- 18 Feb, 2021 1 commit
-
-
Ian Hickson authored
-
- 29 Jan, 2021 1 commit
-
-
Sam Rawlins authored
-
- 15 Dec, 2020 1 commit
-
-
Darren Austin authored
-
- 11 Dec, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 28 Oct, 2020 1 commit
-
-
Per Classon authored
Add side property to Chips, and resolve it and the state of Chips to be MaterialState aware (#68596)
-
- 21 Oct, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 06 Oct, 2020 1 commit
-
-
Alexandre Ardhuin authored
* migrate material to nullsafety * address review comments * address review comments * fix build
-
- 28 Sep, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 17 Sep, 2020 1 commit
-
-
Matěj Žídek authored
-
- 29 Jul, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 15 Jul, 2020 1 commit
-
-
Hans Muller authored
-
- 09 Jul, 2020 1 commit
-
-
Hans Muller authored
-
- 23 Jun, 2020 1 commit
-
-
Tong Mu authored
-
- 11 Jun, 2020 1 commit
-
-
Alexandre Ardhuin authored
* add language version 2.8 in packages/flutter * enable non-nullable analyzer flag
-
- 28 May, 2020 1 commit
-
-
Tong Mu authored
* Adds default cursor and/or mouseCursor property to a number of widgets. * Adds `MaterialStateMouseCurrsor`.
-
- 08 May, 2020 1 commit
-
-
Hans Muller authored
-
- 08 Jan, 2020 1 commit
-
-
Greg Spencer authored
-
- 05 Dec, 2019 1 commit
-
-
Greg Spencer authored
This normalizes all of the "See also" blocks in comments so that they conform in style. They all look like this now: /// See also: /// /// * [MyFavoriteWidget], because it's cool. class Foo {} I removed some useless "See also" blocks, and added commentary to ones that were just "bare" references. This is my penance for adding so many bullets that are "-" instead of "*". :-)
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 28 Jun, 2019 3 commits
-
-
MH Johnson authored
Re-land "[Material] Support for hovered, focused, and pressed border color on `OutlineButton`s" (#35278) * outline border implements material state property
-
Todd Volkert authored
Revert "[Material] Support for hovered, focused, and pressed border color on `OutlineButton`s (#34872)" (#35276) This reverts commit 3f941599.
-
MH Johnson authored
* outline border implements material state property
-
- 05 Jun, 2019 1 commit
-
-
MH Johnson authored
* Support for stateful text colors in buttons * Add color and a11y tests for buttons
-