- 01 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* add trailing commas on list/map/parameters * add trailing commas on Invocation with nb of arg>1 * add commas for widget containing widgets * add trailing commas if instantiation contains trailing comma * revert bad change
-
- 29 Jan, 2019 1 commit
-
-
Hans Muller authored
-
- 08 Nov, 2018 1 commit
-
-
Greg Spencer authored
This converts existing ## Sample code samples to {@tool sample}...{@end-tool} form. Also: 1. Fixed a minor bug in analyze-sample-code.dart 2. Made the snippet tool only insert descriptions if the description is non-empty. 3. Moved the Card diagram to before the code sample.
-
- 05 Nov, 2018 1 commit
-
-
Greg Spencer authored
This rewrites the sample code analysis script to be a little less of a hack (but still not pretty), and to handle snippets as well. It also changes the semantics of how sample code is handled: the namespace for the sample code is now limited to the file that it appears in, so some additional "Examples can assume:" blocks were added. The upside of this is that there will be far fewer name collisions. I fixed the output too: no longer will you get 4000 lines of numbered output with the error at the top and have to grep for the actual problem. It gives the filename and line number of the original location of the code (in the comment in the tree), and prints out the source code on the line that caused the problem along with the error. For snippets, it prints out the location of the start of the snippet and the source code line that causes the problem. It can't print out the original line, because snippets get formatted when they are written, so the line might not be in the same place.
-
- 17 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint prefer_void_to_null * replace last Null by void
-
- 16 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
* Future<void> main * Future<void>.delayed * prefer_void_to_Null * address review comments
-
- 03 Oct, 2018 1 commit
-
-
jslavitz authored
* Adds offset functionality to popup menu * Adds a test
-
- 14 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Sep, 2018 1 commit
-
-
Jonah Williams authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 07 Sep, 2018 2 commits
-
-
Alexandre Ardhuin authored
* lint unnecessary_new on samples * fix tests
-
Alexandre Ardhuin authored
-
- 02 Aug, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 Jul, 2018 1 commit
-
-
Jonah Williams authored
-
- 27 Jul, 2018 1 commit
-
-
Todd Volkert authored
It was causing problems rolling Flutter into Fuchsia
-
- 23 Jul, 2018 1 commit
-
-
Alexandre Ardhuin authored
* re-enable lint unnecessary_const * remove trailling whitespaces * remove unnecessary const (after merge)
-
- 20 Jul, 2018 1 commit
-
-
Greg Spencer authored
-
- 16 Jul, 2018 2 commits
-
-
Ian Hickson authored
This reverts commit cc1cf13e.
-
Alexandre Ardhuin authored
-
- 13 Jun, 2018 1 commit
-
-
Chris Bracken authored
fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly from source, flutter_platform.dart automatically runs a kernel compile when operating in Dart 2 mode, but this assumes a functional Dart SDK is available in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts directory with an empty temp dir. Remaining work is: 1. Get the frontend server building as a dependency on Fuchsia. 2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server. This also reverts migration to Dart 2 typedef syntax. This reverts commit 6c56bb24. (#18362) This reverts commit 3daebd05. (#18316)
-
- 11 Jun, 2018 1 commit
-
-
Greg Spencer authored
Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax. Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml. No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 31 May, 2018 1 commit
-
-
Ian Hickson authored
-
- 30 May, 2018 2 commits
-
-
Greg Spencer authored
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)" (#18041) This reverts commit 32586020.
-
Greg Spencer authored
Fixes #18028 Just changes typedef declarations, no logic changes.
-
- 18 May, 2018 1 commit
-
-
Greg Spencer authored
Our style guide says the k's are not necessary, and it seems like a good idea to make all the code be consistent on this. Only naming changes to private vars: no logic changes.
-
- 09 May, 2018 1 commit
-
-
Michael Goderbauer authored
-
- 20 Apr, 2018 1 commit
-
-
Jonah Williams authored
Semantics object support for edge triggered semantics
-
- 22 Mar, 2018 1 commit
-
-
Ian Hickson authored
This is not a grand refactor yet, it's just cleaning up what we have already, so that people who keep using this API (e.g. dialogs) have something coherent to deal with. The major changes are that Navigator and NavigatorState have the same API now, that most of the examples use `<void>` instead of `<Null>`, that the navigator observer can see replaces, and that the `settings` is moved from ModalRoute to Route. I also cleaned up some of the API documentation.
-
- 30 Jan, 2018 1 commit
-
-
Tom Larsen authored
* Add onCancelled callback to PopupMenu * Fix spelling, don't call onCanceled if disposed, improve documentation.
-
- 24 Jan, 2018 1 commit
-
-
Vyacheslav Egorov authored
-
- 14 Dec, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 08 Dec, 2017 1 commit
-
-
xster authored
* Remove MediaQuery padding for various PopupRoutes that don't extend to the edge of the screen * bottom sheet doesn't actually need handling. Scaffold does it already. Add test for others.
-
- 22 Nov, 2017 1 commit
-
-
Ian Hickson authored
This fixes the popup menu code to do a better job of expanding smoothly regardless of which side of the screen it's on. It still results in a bidirection growth when positioned at the bottom of the screen, so maybe we'll need to animate menus differently, but that's a problem for another patch. Also, improve some docs and provide RelativeRect.toSize which I needed at one point while building this patch (though it didn't survive all the way to the end).
-
- 02 Oct, 2017 1 commit
-
-
Adam Barth authored
Unlike FractionalOffset, Alignment uses the center as the zero of the coordinate system, which makes the RTL math work out much cleaner. Also, make FractionalOffset into a subclass of Alignment so that clients can continue to use FractionalOffset.
-
- 12 Sep, 2017 1 commit
-
-
Hans Muller authored
-
- 11 Sep, 2017 1 commit
-
-
Adam Barth authored
Fix a bunch of obvious RTL bugs from code inspection.
-
- 01 Aug, 2017 1 commit
-
-
perlatus authored
* PopupMenuButton: create IconButton if child is Icon Otherwise the resulting button has an abnormally small and rectangular area. With multiple PopupMenuButton(child: Icon) they get squished together in the AppBar. * Add separate icon argument to PopupMenuButton * Fix style issues and tweak dartdocs * Add tests for icon argument to PopupMenuButton * Group icon tests and fix broken test, analyzer warnings * Test that the correct custom icon is present * Apply De Morgan's to work around dart analyzer bug see: https://github.com/dart-lang/sdk/issues/30288
-
- 12 Jun, 2017 1 commit
-
-
Ian Hickson authored
-
- 31 May, 2017 1 commit
-
-
Ian Hickson authored
Also, clean up the menus code a bit. Also, make it easier to write a PopupMenuEntry that has itself many items (for example, the way Chrome's menu has icons in a row).
-