- 08 Jan, 2020 1 commit
-
-
Greg Spencer authored
-
- 04 Dec, 2019 2 commits
-
-
Brian Egan authored
* Api Samples and Diagrams for the following classes and methods: - AlertDialog - SimpleDialog - SingleChildScrollView - showDatePicker - RichText - InputDecoration - Divider - StreamBuilder - DataTable - BottomSheet - showBottomSheet - showModalBottomSheet * Update packages/flutter/lib/src/material/divider.dart Co-Authored-By:
Kate Lovett <katelovett@google.com> * Update packages/flutter/lib/src/widgets/basic.dart Co-Authored-By:
Kate Lovett <katelovett@google.com> * Update packages/flutter/lib/src/material/data_table.dart Co-Authored-By:
Kate Lovett <katelovett@google.com> * Update packages/flutter/lib/src/material/bottom_sheet.dart Co-Authored-By:
Kate Lovett <katelovett@google.com> * Update packages/flutter/lib/src/material/scaffold.dart Co-Authored-By:
Kate Lovett <katelovett@google.com> * Move animation out of sample * Remove "widget.size", replace with "60"
-
Alexandre Ardhuin authored
* implicit-casts:false in flutter/lib/src/widgets * address review comments * address review comment
-
- 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
-
- 16 Aug, 2019 1 commit
-
-
Tom Robinson authored
getTransformTo now includes ancestor in the transform it returns, except for if ancestor is the root view, ensuring that the transform remains in logical pixel space.
-
- 09 May, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 25 Feb, 2019 1 commit
-
-
jslavitz authored
Breaks the moveBy call from drag and dragFrom into two separate calls and changes the default behavior of DragStartBehavior to DragStartBehavior.start (#26438) * Breaking change which sets the default DragStartBehavior to DragStartBehavior.start and changes WidgetTester.drag and WidgetTester.dragFrom by breaking the moveBy function call into multiple pieces.
-
- 21 Feb, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 15 Feb, 2019 1 commit
-
-
Greg Spencer authored
This converts all remaining "## Sample code" segments into snippets, and fixes the snippet generator to handle multiple snippets in the same dartdoc block properly. I also generated, compiled, and ran each of the existing application samples, and fixed them up to be more useful and/or just run without errors. This PR fixes these problems with examples: 1. Switching tabs in a snippet now works if there is more than one snippet in a single dartdoc block. 2. Generation of snippet code now works if there is more than one snippet. 3. Contrast of text and links in the code sample block has been improved to recommended levels. 4. Added five new snippet templates, including a "freeform" template to make it possible to show examples that need to change the app instantiation. 5. Fixed several examples to run properly, a couple by adding the "Scaffold" widget to the template, a couple by just fixing their code. 6. Fixed visual look of some of the samples when they run by placing many samples inside of a Scaffold. 7. In order to make it easier to run locally, changed the sample analyzer to remove the contents of the supplied temp directory before running, since having files that hang around is problematic (only a problem when running locally with the `--temp` argument). 8. Added a `SampleCheckerException` class, and handle sample checking exceptions more gracefully. 9. Deprecated the old "## Sample code" designation, and added enforcement for the deprecation. 10. Removed unnecessary `new` from templates (although they never appeared in the samples thanks to dartfmt, but still). Fixes #26398 Fixes #27411
-
- 18 Jan, 2019 1 commit
-
-
jslavitz authored
-
- 09 Jan, 2019 1 commit
-
-
jslavitz authored
* the onStart callback will report the location of the pointer where it wins the gesture arena by default instead of the pointer down location. Fixes all tests related to changing this default value.
-
- 08 Jan, 2019 1 commit
-
- 07 Jan, 2019 1 commit
-
-
jslavitz authored
* Adds start behavior option to the drag gesture recognizer and makes it the default option when a drag gesture recognizer is created. Also fixes all the tests to work correctly with the new default behavior.
-
- 18 Dec, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 02 Nov, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 07 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* lint unnecessary_new on samples * fix tests
-
- 29 Aug, 2018 2 commits
-
-
Alexander Aprelev authored
This is follow-up to https://github.com/flutter/flutter/pull/21143.
-
Alexander Aprelev authored
* Roll engine to 56139397e6ae1257bdabd1ef79ff7aca96c67d4.6 Changes since last roll: ``` 56139397e Roll src/third_party/skia 7ba1d64f0706..5f0726b01019 (12 commits) (#6104) 47a1ce0e6 Allow embedders to set the root surface transformation. (#6085) ``` * Roll engine to f3ff83a5db71262d240aa5337a2a9a22c73c4749. (dart roll). * Add const * Add ignore analyzer prefer_const_constructors_in_immutables
-
- 30 Jul, 2018 1 commit
-
-
Michael Goderbauer authored
Fixes #19523
-
- 07 Jun, 2018 1 commit
-
-
Michael Goderbauer authored
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 21 May, 2018 1 commit
-
-
Michael Goderbauer authored
-
- 04 May, 2018 1 commit
-
-
Michael Goderbauer authored
-
- 03 May, 2018 1 commit
-
-
Konstantin Scheglov authored
-
- 26 Apr, 2018 1 commit
-
-
Ian Hickson authored
-
- 21 Dec, 2017 1 commit
-
-
Ian Hickson authored
This attempts to apply some of what we learnt from UX studies, namely that people wonder how to add multiple children to widget that take one child.
-
- 11 Oct, 2017 1 commit
-
-
Michael Goderbauer authored
* Update Semantics for SingleChildScrollViews * refactor * review feedback * added assert and comments * doc
-
- 05 Oct, 2017 1 commit
-
-
Adam Barth authored
Fixes #11930
-
- 24 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 05 Sep, 2017 1 commit
-
-
Adam Barth authored
Fixes #11855
-
- 31 Aug, 2017 1 commit
-
-
Adam Barth authored
This patch includes: * SliverPadding * ScrollView * PageView Fixes #11764 Fixes #11836
-
- 21 Jul, 2017 1 commit
-
-
Ian Hickson authored
Mainly, this adds documentation to members that were previously lacking documentation. It also adds a big block of documentation about improving performance of widgets. This also removes some references to package:collection and adds global setEquals and listEquals methods in foundation that we can use. (setEquals in particular should be much faster than the package:collection equivalent, though both should be faster as they avoid allocating new objects.) All remaining references now qualify the import so we know what our remaining dependencies are. Also lots of code reordering in Flutter driver to make the code consistent and apply the style guide more thoroughly.
-
- 19 Jul, 2017 1 commit
-
-
Michael Goderbauer authored
* a11y: implement new SemanticsAction "showOnScreen" (v2) This action is triggered when the user swipes (in accessibility mode) to the last visible item of a scrollable list to bring that item fully on screen. This requires engine rolled to flutter/engine#3856. I am in the process of adding tests, but I'd like to get early feedback to see if this approach is OK. * fix null check * review comments * review comments * Add test * fix analyzer warning
-
- 02 Jun, 2017 1 commit
-
-
Alexandre Ardhuin authored
* preview of prefer_asserts_in_initializer_list lint * fix issue
-
- 25 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 23 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* more widget const constructors * prefer const constructors * address review comments
-
- 12 Apr, 2017 1 commit
-
-
Ian Hickson authored
* Manually fix every use of Point.x and Point.y Some of these were moved to dx/dy, but not all. * Manually convert uses of the old gradient API * Remove old reference to Point. * Mechanical changes I applied the following at the root of the Flutter repository: git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g' git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g' git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g' git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g' git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g' git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g' git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g' git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g' git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g' git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g' git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g' git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g' git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g' git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g' git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g' git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g' * Mechanical changes - dartdocs I applied the following at the root of the Flutter repository: git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g' git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g' * Further improvements and a test * Fix minor errors from rebasing... * Roll engine
-
- 08 Apr, 2017 1 commit
-
-
Ian Hickson authored
Nobody knew what a Block was.
-
- 04 Apr, 2017 1 commit
-
-
Adam Barth authored
This patch adds docs for many of the sliver widgets.
-