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
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
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 de2514c0e2631e33996d131e8743fbcb7bbd57c4 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
Sam Rawlins
965ba387d4
Remove unused public static members of private classes/enums ( #48218 )
2020-01-07 12:18:02 -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
Mouad Debbar
f6a88d0309
Registering multiple transformed events should work ( #48149 )
2020-01-06 14:24:52 -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
神楽坂花火
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
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
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
chunhtai
57a93419b4
EditableText should not update textinput style when the textinput is … ( #47904 )
2020-01-02 16:19:52 -08:00
Dan Field
24f39d40a4
Revert "Revert "Add many more global analyses. ( #47875 )" ( #48080 )" ( #48081 )
...
This reverts commit 04ea3183ce67c62def5852a5c2615e38188195ca.
2020-01-02 11:47:28 -08:00
Francisco Magdaleno
04ea3183ce
Revert "Add many more global analyses. ( #47875 )" ( #48080 )
...
This reverts commit e768c92fbc6cf8bf4e1814ef950a6092bbb6f658.
2020-01-02 09:25:59 -08:00
Ian Hickson
e768c92fbc
Add many more global analyses. ( #47875 )
...
* Update packages.
* Add many more global analyses.
* Catch trailing spaces and trailing newlines in all text files.
Before we were only checking newly added files, but that means we
missed some.
* Port the trailing spaces logic to work on Windows too.
* Correct all the files with trailing spaces and newlines.
* Refactor some of the dev/bots logic into a utils.dart library.
Notably, the "exit" and "print" shims for testing are now usable
from test.dart, analyze.dart, and run_command.dart.
* Add an "exitWithError" function that prints the red lines and
then exits. This is the preferred way to exit from test.dart,
analyze.dart, and run_command.dart.
* More consistency in the output of analyze.dart.
* Refactor analyze.dart to use the _allFiles file enumerating logic
more widely.
* Add some double-checking logic to the _allFiles logic to catch
cases where changes to that logic end up catching fewer files
than expected (helps prevent future false positives).
* Add a check to prevent new binary files from being added to
the repository. Grandfather in the binaries that we've already
added.
* Update all the dependencies (needed because we now import crypto in
dev/bots/analyze.dart).
2019-12-30 17:12:19 -08:00
神楽坂花火
b28dd0c296
Reland "Add brightness to CupertinoNavigationBar ( fixes #46216 ) ( #47521 )" ( #47855 )
2019-12-27 18:33:01 -08:00
LongCatIsLooong
ae24f18414
Reland 39919 CupertinoPicker ( #47837 )
2019-12-26 17:26:55 -08:00
Jonathan White
1fe05983e6
Fix typos in DefaultTabController.of documentation ( #46907 )
...
Fix error in `DefaultTabController.of` documentation
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2019-12-26 09:45:25 -08:00
LongCatIsLooong
b7af5e714d
Revert "Add brightness to CupertinoNavigationBar ( fixes #46216 ) ( #47521 )" ( #47805 )
2019-12-25 23:49:55 -08:00
神楽坂花火
2cbf126fe8
Add brightness to CupertinoNavigationBar ( fixes #46216 ) ( #47521 )
2019-12-25 21:54:12 -08:00
Shi-Hao Hong
6e72facad1
Fix Icon.color docs ( #47691 )
2019-12-24 10:54:04 -08:00
Chen Yumin
0265cb6849
Make tab's icon margin configurable ( Fix #47363 ) ( #47364 )
...
Adds the `iconMargin` parameter to Tab
2019-12-23 15:37:16 -08:00
Alexandre Ardhuin
4adad2c652
update list of lints ( #47661 )
2019-12-23 18:40:56 +01:00
Jim Graham
fcaf9c4070
Support for ImageFiltered widget to apply ImageFilter to children. ( #47489 )
2019-12-21 14:03:01 -08:00
gaaclarke
72a3d914ee
Added a code sample for replacing the image cache. ( #47467 )
2019-12-20 08:50:42 -08:00
Dan Field
93f718b386
Fix requestExistingInputState response ( #47472 )
2019-12-20 03:33:01 -08:00
Matt Sullivan
f6922d57fc
Fixed incorrect offsetting when applying ShaderMasks ( #45654 )
2019-12-19 19:48:01 -08:00
LongCatIsLooong
e3c8ecaf7f
Reland "Fix sliver geometry assert ( #47027 )"
2019-12-19 14:27:35 -08:00
Gary Qian
b011ea5468
Pass _caretPrototype to prevent cache miss ( #46720 )
2019-12-20 06:46:49 +09:00
Justin McCandless
92c21a5701
Fix a typo in the docs ( #47391 )
...
Just a docs text change.
2019-12-19 09:40:01 -08:00
Alexandre Ardhuin
78db965642
Reland implicit-casts: false ( #47431 )
2019-12-19 02:23:01 -08:00
Lau Ching Jun
a4858782da
Revert "implicit-casts: false ( #47199 )" ( #47428 )
...
This reverts commit c235998acf17206c6ce411af235faf439d9ff7b2.
2019-12-18 23:53:00 -08:00
Alexandre Ardhuin
c235998acf
implicit-casts: false ( #47199 )
2019-12-18 23:23:01 -08:00
Lau Ching Jun
d51956a9ea
Revert "Call setEditingState when text changes. ( #47177 )" ( #47397 )
...
This reverts commit d4b49ce9fc47885b1f634aad6b124a48917a81dc.
2019-12-18 18:03:24 -08:00
Lau Ching Jun
f32dee6e30
Revert "Fix sliver geometry assert ( #47027 )" ( #47390 )
...
This reverts commit 117dfaf2871908d55f73e390c6a3ce4b70010fc8.
2019-12-18 17:02:11 -08:00
Michael Goderbauer
beb86d2cc4
Revert "Simplify Chip slightly ( #47254 )" ( #47353 )
2019-12-18 14:03:01 -08:00
KalilDev
b39ebcb55f
Fix CupertinoContextMenuAction color behavior ( #47151 )
...
"destructive" color wasn't working for ContextMenuAction, this PR fixes it.
2019-12-18 13:57:40 -08:00
Lau Ching Jun
bc67d22449
Revert "iOS UITextInput autocorrection prompt ( #45354 )" ( #47373 )
...
This reverts commit 0f8c0da0a9ded2a9b7aa3bd01fcc29db80bbab0a.
2019-12-18 13:56:44 -08:00
Shi-Hao Hong
bde351eea2
Make AlertDialog scrollable through AlertDialog.scrollable parameter ( #45079 )
...
* Add AlertDialog.scrollable
* Add deprecation notice
* Ignore deprecation warning in dialog.dart with TODO
2019-12-18 12:31:16 -08:00
Alex Vincent
f546aa7def
Fix buildCounter returns a widget when set to return null. ( #45749 )
...
When buildCounter returns null it no longer produces a widget that takes up space.
2019-12-18 10:45:28 -08:00
Scott Hyndman
ceef460a64
Correct name in DecorationImage error string ( #47260 )
2019-12-18 00:23:02 -08:00