Commit graph

12036 commits

Author SHA1 Message Date
Shi-Hao Hong 51e24a3561
Implement reverseTransitionDuration for TransitionRoute (#48274)
* Implement reverseTransitionDuration in TransitionRoute
2020-01-09 09:31:38 -08:00
creativecreatorormaybenot c241f9f6b2 Document reasoning for why CustomMultiChildLayout size can't depend on children and how to do it (#48451) 2020-01-09 08:28:02 -08:00
Alexandre Ardhuin 82262d8896 format operator== according to flutter style guide (#48449) 2020-01-09 08:23:02 -08:00
Zachary Anderson 23ce192a8f Reland: Reword flutter run help screen. (#48423) 2020-01-09 08:18:03 -08:00
Kate Lovett 84aa29ce63 Gold Pre-submit flow for contributors without permissions (#47551) 2020-01-09 08:08:03 -08:00
Greg Spencer fabf4e3d0d Reverse the sense of the terms snippet and sample. (#48254) 2020-01-08 15:28:02 -08:00
Tong Mu dbed575c01 Add test of scrolling competition (#47492) 2020-01-08 15:23:02 -08:00
Zachary Anderson 07161e8267
[flutter_tool] Don't use context in ProcessUtils (#48444) 2020-01-08 15:20:32 -08:00
Sunbreak 4e6d649f14 Add optional endian argument for WriteBuffer/ReadBuffer (#46661) 2020-01-08 15:18:03 -08:00
stuartmorgan 58d6c425e4
Check for desktop project files before building (#48350)
Moves the checks that projects have been configured for desktop to a lower level, where they will cover more codepaths (e.g., 'run'), and improves them to check for native build projects, rather than just directories, to catch cases where the directory exists (e.g., due to accidental creation of generated files).

Also adds links to the error messages pointing to instructions on adding desktop support to a project.

Fixes #47145
2020-01-08 12:39:49 -08:00
Lau Ching Jun 67c843f7b6 Rename conditional imported files to match convention (#48356) 2020-01-08 12:38:03 -08:00
Jonah Williams f7b8d62cbc
[flutter_tool] Refactor Logger and Terminal to (mostly) no longer depend directly on context (#47269) 2020-01-08 12:35:12 -08:00
Marius Meißner 0384c8c482 Flexible padding (header height) for expanded panels (#47951)
* Added property for expanded padding of expansion panel for solving #24071

* #24071: Renamed default const name for being more descriptive

* #24071: Improved comment of property expandedPadding

* #24071: Improved test by expanding the expansion panel by header tap + precise assertion

* #24071: Renamed property to be more descriptive

* #24071: Adjusted property comment and added missing trailing commas

* #24071: Improved test by checking real exact header size

* #24071: Added test for default header padding

* #24071: Improved comment of expandedHeaderPadding + code style adjustments

* #24071: Added missing trailing comma
2020-01-08 12:33:25 -08:00
Tim Sneath 6b66412136 Update first-run information URLs (#48154) 2020-01-08 12:33:03 -08:00
David Iglesias f65f7f0118 Change video_demo slightly so it works on web. (#46719) 2020-01-08 12:28:01 -08:00
Greg Spencer 8b132015bb
Add CatmullRomCurve and CatmullRomSpline (#47547)
This adds CatmullRomCurve animation curve, and a CatmullRomSpline, which is what it uses to do interpolation.

This allows us to create animation curves which can smoothly interpolate the values given to the curve.

Since I've introduced a 2D spline curve, I also created a Curve2D base class for such parametric curves.
2020-01-08 07:59:54 -08:00
Dan Field 505af78ae1
StackTrace parser, fix assertion error message (#48343) 2020-01-07 22:49:27 -08:00
Dan Field 4552724f0e
Don't use local file system in devfs test (#48367) 2020-01-07 22:49:09 -08:00
Alexander Aprelev b4c79239da
Cleanup accidental use of global fs in test. (#48358)
This is follow-up to ee7a37f1d3.
2020-01-07 22:35:03 -08:00
Alexander Aprelev 317b9e786b
Revert "Document reasoning for why CustomMultiChildLayout size can't depend on children and how to do it (#47797)" (#48369)
This reverts commit de2514c0e2 as it breaks analyze-linux and web_tests-0-linux checks.
2020-01-07 21:42:18 -08:00
creativecreatorormaybenot de2514c0e2 Document reasoning for why CustomMultiChildLayout size can't depend on children and how to do it (#47797) 2020-01-07 18:48:01 -08:00
Zachary Anderson a1bf03f87a
Revert "Esarbanis flutter run help (#48314)" (#48351)
This reverts commit 866fa64dce.
2020-01-07 15:06:40 -08:00
Dan Field 134c2ff076 analytics ordering issue (#48278) 2020-01-07 12:23:02 -08:00
Jonah Williams bf6c4c4a41
[flutter_tools]web]Add support for --csp mode to build web (#48319) 2020-01-07 12:20:03 -08:00
Sam Rawlins 965ba387d4 Remove unused public static members of private classes/enums (#48218) 2020-01-07 12:18:02 -08:00
wise86-android c86517c0bb [issue 7293] add test for rettangle box decoration with boarder radius (#47915) 2020-01-07 12:13:02 -08:00
Zachary Anderson 866fa64dce
Esarbanis flutter run help (#48314)
* Reword flutter run help screen.

* As per Hixie request, added Efthymios Sarmpanis to the AUTHORS file

* fix test

Co-authored-by: Efthymis Sarmpanis <e.sarbanis@gmail.com>
2020-01-07 12:10:08 -08:00
Kate Lovett 76b21d2867 Refactor SliverFillRemaining (#47379) 2020-01-07 12:08:02 -08:00
Sam Rawlins 5005824763 Mark unused but desired private constructors as such (#46200) 2020-01-07 12:03:03 -08:00
Kate Lovett f974c295b5 SliverFadeTransition (#45950) 2020-01-07 11:58:01 -08:00
Alexandre Ardhuin 4f9b6cf017
enable lint prefer_final_in_for_each (#47724) 2020-01-07 16:32:04 +01:00
Dan Field d73b3682c9
Fix state in test (#48269) 2020-01-06 16:33:31 -08:00
Dan Field 79c4c38cc9 Make analyze once test not depend on test order or flutter create command (#48003) 2020-01-06 16:33:01 -08:00
Mouad Debbar f6a88d0309
Registering multiple transformed events should work (#48149) 2020-01-06 14:24:52 -08:00
Jonah Williams 2221a9f514
[flutter_tool] Cache the path context in the flutter tool (#48250)
recomputing the path context in the getter violates flutter repo style guide and adds a small but measurable overhead to all path operations
2020-01-06 13:57:13 -08:00
Dan Field ea799d97f4
.. (#48263) 2020-01-06 13:30:21 -08:00
Ben Konyi a0e5621956
Added showCheckboxColumn parameter to DataTable and PaginatedDataTable (#47552)
`showCheckboxColumn` will determine whether or not selectable rows in
DateTable or PaginatedDataTable will contain a leading CheckBox.
2020-01-06 16:29:36 -05:00
Jacob MacDonald c3f590a872
update dependencies for flutter_tool (#48260) 2020-01-06 13:08:06 -08:00
Jonah Williams ee7a37f1d3
[flutter_tools] Ensure that global variables are easily identifiable (#47398) 2020-01-06 11:04:20 -08:00
Dan Field 19c7550540 fix mockStopWatch creation (#48098) 2020-01-06 11:03:01 -08:00
神楽坂花火 80ee2ff04f Add Border.symmetric constructor (#47523) 2020-01-06 09:48:02 -08:00
Phil Quitslund 7fee0c52d3 mark widget == and hashCode as nonVirtual (#46900) 2020-01-06 09:43:02 -08:00
Alexandre Ardhuin 1fc43d9330
add key to constructors of public widgets (#47884)
* add key to constructors of public widgets

* fix a test

* fix a test
2020-01-06 17:41:54 +01:00
Jenn Magder 0aed0b61a1
Add newlines between plugin names in GitHub template (#46937) 2020-01-03 17:53:54 -08:00
Shi-Hao Hong fa1ebab88e
Added API docs on opening a Scaffold's drawer programmatically (#48152)
* Added docs on how to set drawer to open only programmatically
2020-01-03 15:20:48 -08:00
LongCatIsLooong adc6482784
Implement CupertinoDatepicker time/dateTime constraints (#44628) 2020-01-03 14:50:41 -08:00
LongCatIsLooong 7511d8c06a
fix MediaQuery override in CupertinoDatePicker (#48001) 2020-01-03 11:05:50 -08:00
Devon Carew c924f499f5
ignore a (potentially) unused import in generated code (#47593) 2020-01-03 11:04:03 -08:00
creativecreatorormaybenot b383bdfd1f Initial (#47831) 2020-01-03 10:53:32 -08:00
Shi-Hao Hong 62e436f049
Implement AlertDialog.actionsPadding and AlertDialog.buttonPadding (#47709)
* Implement AlertDialog.actionsPadding and AlertDialog.buttonPadding
2020-01-03 08:18:21 -08:00