Viktor Lidholt
e271fa3e76
Fixes issue with removing and re-adding a toolbar which is connected to the same TabBarController ( #9015 )
2017-03-27 11:12:10 -07:00
Adam Barth
5a101024de
Fix the parameter names for computeMaxIntrinsicHeight and computeMinIntrinsicHeight ( #9017 )
...
These parameters are the width, not the height.
2017-03-26 16:04:24 -07:00
Adam Barth
dccccb9b82
Add fontFamily to ThemeData constructor ( #9016 )
...
Otherwise it's somewhat verbose to configure all the text themes.
2017-03-26 10:53:02 -07:00
lyrachord
f8cf576f2b
typo spontaneously ( #9013 )
2017-03-25 10:54:50 -07:00
Collin Jackson
0739dcea4b
Fix #9003 Make DrawerHeader margin configurable ( #9006 )
2017-03-24 16:42:58 -07:00
Hans Muller
606f56221b
Eliminated DrawerItem, use ListTile instead ( #8992 )
2017-03-24 15:34:43 -07:00
Luke
1adfbd4e00
Adds highlight + splash color properties to material button ( #8643 )
...
* adds highlight + splash color properties to material button
* add states to raised button + flat button
* fixes an issue where the custom highlight would not be properly set
* Add preliminary tests for theme highlight + splash and via theme
* documentation changes. tweaks per code review feedback
* comment out unused variable
* remove unused import
* documentation updates. removed commented code
2017-03-23 14:41:08 -07:00
Michael Thomsen
2d29c62590
Update links to platform services -> channels ( #8975 )
2017-03-23 14:16:42 +01:00
Collin Jackson
f47cde441e
Improvements to CircleAvatar text color (for #8895 codelab) ( #8936 )
...
* Improvements to CircleAvatar default color (for codelab)
* use a transparent white instead of a solid one
* Fix analyzer errors
* fix tests
2017-03-22 13:23:14 -07:00
Hans Muller
90799e4479
Fix selected tab indicator tap animation ( #8939 )
2017-03-22 10:40:10 -07:00
Alexandre Ardhuin
578ca0a295
use color.shadeXxx instead of color[Xxx] ( #8932 )
...
* use color.shadeXxx instead of color[Xxx]
* remove calls to .shade500 on MaterialColor
* remove calls to .shade200 on MaterialAccentColor
* fix test
2017-03-21 23:14:55 +01:00
Hans Muller
dac80aac89
Make min/max fling velocity and min fling distance ScrollPhysics properties ( #8928 )
2017-03-21 11:00:04 -07:00
Adam Barth
d443d598c2
Align TextEditingValue and InputValue ( #8922 )
...
This patch prepares us to remove InputValue in favor of TextEditingValue.
2017-03-20 17:18:35 -07:00
Adam Barth
269538df58
Add a constant for padding in a Material ListView ( #8918 )
...
Fixes #8235
2017-03-20 16:18:41 -07:00
Adam Barth
31fd74230e
Add Design Discussion to State.build docs ( #8916 )
...
Fixes #8794
2017-03-20 16:18:32 -07:00
Adam Barth
a111551b24
Document that Material clips ( #8915 )
...
Fixes #8519
2017-03-20 16:17:27 -07:00
Adam Barth
97816e1571
Rename Dismissable to Dismissible ( #8919 )
...
The latter is the proper spelling.
Fixes #8883
2017-03-20 16:17:08 -07:00
Jason Simmons
8aa4314930
Render Material using a PhysicalModel with optional compositing ( #8920 )
2017-03-20 16:00:47 -07:00
Adam Barth
1c69fa7eac
Reference SizeChangedLayoutNotifier from SizeChangedLayoutNotification ( #8887 )
...
Fixes #7520
2017-03-20 14:50:02 -07:00
Adam Barth
9c8763368f
Fixed extent lists cannot handle infinite extent ( #8885 )
...
Previously they tried to compute an integer target end index, but
integers can't represent infinity. Now we use null to represent
infinity.
Also, fix some similar issues with grids.
Fixes #8398
2017-03-20 12:45:52 -07:00
Adam Barth
e836a84e30
Add Image.memory for making images from typed data ( #8877 )
...
Fixes #7503
Fixes #8870
2017-03-20 11:14:41 -07:00
Adam Barth
3fc7265ad5
Switch from Size.isInfinite to Size.isFinite ( #8868 )
...
Fixes #4301
2017-03-19 16:04:38 -07:00
David Yang
f1c2d78455
Updating Cupertino Button MinSize to comply with iOS guidelines ( #8881 )
...
The recommended minimum tappable area is actually 44.0pt according to the [iOS Human Interface Guidline](https://developer.apple.com/ios/human-interface-guidelines/visual-design/layout/ ).
> Provide ample spacing for interactive elements. Try to maintain a minimum tappable area of 44pt x 44pt for all controls.
I've also added an override to allow for flexibility in situations where designers get naughty and have a desire to make everything super small.
2017-03-19 05:19:40 -07:00
Adam Barth
c95e73418f
Adds support for custom fonts for icons ( #8880 )
...
This update adds support for custom fonts in icons. As an example, it
can be used with the icon-set from https://materialdesignicons.com
Thanks to @vlidholt for the original patch.
Fixes #4494
Fixes #3199
2017-03-18 14:09:51 -07:00
Michael Goderbauer
80ab0f64b4
Remove addFrameCallback ( #8874 )
...
Fixes #7793 .
2017-03-17 16:41:34 -07:00
Hans Muller
031e042eee
Now each Colors.foo constant is-a Color and a color swatch ( #8833 )
2017-03-17 15:24:54 -07:00
Adam Barth
5cf04b6141
Rename ImageFit to BoxFit ( #8871 )
...
This machinery is useful for arbitrary boxes (e.g., with FittedBox).
Fixes #6463
2017-03-17 15:21:55 -07:00
Adam Barth
d52c0a8f18
Add some @required annotations to transitions.dart ( #8866 )
...
Fixes #6382
2017-03-17 14:39:34 -07:00
Adam Barth
6e20d62b9e
Add dartdocs to scroll_view.dart ( #8846 )
2017-03-17 13:26:40 -07:00
Adam Barth
ef43d00045
Ignore some missing plugins. ( #8852 )
...
Fixes #8850
2017-03-17 09:40:58 -07:00
Mikkel Nygaard Ravn
dce4bf8599
Remove old platform messaging API ( #8837 )
...
Breaking change: removed deprecated methods of PlatformMessages, leaving only binary messaging there. All other use of platform communication now goes through PlatformMessageChannel and PlatformMethodChannels. Retained use of String and JSON codecs for now.
Companion engine PR: flutter/engine#3482
2017-03-17 11:56:50 +01:00
Alexandre Ardhuin
a0769f2488
apply the upcoming rule unnecessary_this ( #8838 )
2017-03-17 08:05:42 +01:00
Adam Barth
6cd552fe69
Add a couple dartdocs ( #8841 )
2017-03-16 22:19:11 -07:00
Hans Muller
e0f26b44f2
Fixed a typo in AnimationController.repeat() ( #8816 )
2017-03-16 07:28:47 -07:00
Adam Barth
dc83c4913a
Add some missing dartdocs ( #8819 )
2017-03-15 20:56:49 -07:00
Alexandre Ardhuin
2166ea5b7f
apply partially the upcoming unnecessary_lambdas ( #8810 )
2017-03-15 23:09:58 +01:00
Hans Muller
6f9bfbdaba
Support aborted hero flights ( #8805 )
2017-03-15 12:35:20 -07:00
Alexandre Ardhuin
a9ba0e2f88
prefer_initializing_formals ( #8797 )
2017-03-15 18:30:55 +01:00
Jason Simmons
054b566915
Framework callback for engine memory pressure events ( #8778 )
2017-03-15 09:54:10 -07:00
Adam Barth
f182b9786e
Add more scrolling dartdocs ( #8763 )
...
Also, add a few other random dartdocs that I encountered along the way.
2017-03-14 18:48:15 -07:00
Adam Barth
1e63dc4a72
Merge BuildableElement and Element ( #8758 )
...
There aren't any subclasses of Element that don't also subclass
BuildableElement and I suspect they wouldn't work properly anyway.
Fixes #3656
2017-03-14 17:49:10 -07:00
Adam Barth
146fc617ca
ScrollController should notify when its offset changes ( #8768 )
...
This change make it easier to track the position of the scroll view without
having to worry about the position object changing out from under the
controller.
2017-03-14 14:07:35 -07:00
Adam Barth
fd51093146
Rename SliverPadding.child to SliverPadding.sliver ( #8757 )
...
The new name follows the pattern of the name suggesting which layout
protocol the parent expects the child to speak.
Fixes #8664
2017-03-14 14:07:13 -07:00
Hans Muller
859da8d28b
Rename ListItem to ListTile, document ListTile fixed height geometry ( #8769 )
2017-03-14 11:46:30 -07:00
Adam Barth
6b75ac3fde
Rename dependenciesChanged to didChangeDependencies ( #8767 )
...
The new name matches the style guide. (The old name was just old and predated
the style guide.)
Fixes #8000
2017-03-14 11:21:53 -07:00
Mikkel Nygaard Ravn
898b6f8549
Enable iOS use of platform channels ( #8695 )
...
Changed standard encoding to use host endianness. Engine roll.
2017-03-14 00:24:41 +01:00
Adam Barth
cbb495c16d
Add more dartdocs for the sliver render objects ( #8749 )
...
This patch covers multi-box adaptor and the viewports.
2017-03-13 22:57:05 +00:00
Hans Muller
8a36588627
Fixed scrollable TabBar flashing ( #8741 )
2017-03-13 14:07:47 -07:00
Adam Barth
f5a6c432fc
Add docs for RenderSliverGrid ( #8737 )
...
Most of these docs were already in place, but this patch adds the remaining
missing ones.
2017-03-13 20:11:34 +00:00
Adam Barth
fecc4e6584
Docs for RenderSliverFixedExtentList ( #8733 )
...
Also, some renames for more accuracy.
2017-03-13 18:12:33 +00:00