xster
40b67bb187
Move icons stuff from material to widget ( #10192 )
...
Moved everything icons related except the material icon button and the materialicon font list to widget
2017-05-21 16:57:31 -07:00
Adam Barth
81b76c2bb8
Make CircularProgressIndicator's stroke width configurable ( #9794 )
...
Fixes #9062
2017-05-19 21:56:07 -07:00
xster
95e9e7e9e7
Theme inserts IconTheme into tree ( #10179 )
...
* Let Theme insert an IconTheme into the widget tree
* flip the order, no real reason
* Let icon theme use its own fallback
* review notes
* more review notes
2017-05-19 18:36:50 -07:00
Chris Bracken
48237d54c1
Small doc clarification to HapticFeedback.vibrate ( #10217 )
...
Eliminate the implementation detail of which function is called to
trigger vibration on iOS, instead report the vibration constant.
Also note that not all iOS devices support haptic feedback (e.g., older
iPod touch devices).
2017-05-19 14:50:11 -07:00
Ian Hickson
f50fe13ff1
Fix flip-flop behaviour with two competing taps ( #10151 )
2017-05-19 09:25:55 -07:00
Ian Hickson
cd6e3b1ac2
CheckboxListTile, RadioListTile, SwitchListTile ( #10160 )
2017-05-19 08:46:17 -07:00
Collin Jackson
04923d330a
Merge branch 'alpha'
2017-05-18 18:11:49 -07:00
Collin Jackson
973304d5fb
Fix sliver padding assertion failure that sometimes happens during startup because the app is temporarily built with zero size
2017-05-18 17:58:24 -07:00
Hans Muller
8364ac5b00
Fixed dartdoc related to SliverPrototypeExtentList and renamed the source file ( #10174 )
2017-05-18 14:41:55 -07:00
Ian Hickson
61c56ba15f
Make Slider take up whatever space it has. ( #10132 )
...
Previously it was (arbitrarily?) set to 144.0 pixels wide.
2017-05-17 14:31:55 -07:00
xster
f3a27e66fe
add doc details ( #10136 )
2017-05-16 21:30:46 -07:00
Ian Hickson
940473e5d6
Don't crash if Slider is given an empty range. ( #10133 )
...
Instead just disable the slider.
Fixes https://github.com/flutter/flutter/issues/10055
2017-05-16 19:35:01 -07:00
Ian Hickson
8b5ece7ca9
Report semantics geometry in physical units. ( #10094 )
...
Previously we used logical pixels. This made the accessibility metrics
tiny on modern devices, since the OS works in physical units.
Also add a bit more debugging info and some docs.
2017-05-16 16:43:22 -07:00
Adam Barth
20cc29cd62
Propagate notifications when onNotification returns null ( #10081 )
...
Previously we threw an exception to require a non-null value. Now we
just treat null as the common case of not stopping propagation.
2017-05-16 15:11:11 -07:00
Hans Muller
765e5d5b5b
Added SliverPrototypeExtentList et al ( #10097 )
2017-05-16 11:56:55 -07:00
Ian Hickson
7eef73dd00
Answer the question of why icon buttons are 48x48. ( #10117 )
2017-05-16 11:36:12 -07:00
Ian Hickson
abeb164fe2
Add intrinsic dimensions to RenderEditable ( #10093 )
...
Also:
* Make TextPainter.preferredLineHeight honour root fontSize
* Remove bogus docs.
* More aggressively track dirty state for RenderEditable.
* Some tests.
2017-05-15 14:06:58 -07:00
Mikkel Nygaard Ravn
5bdd80d085
Update docs/sample code for async widgets ( #10029 )
2017-05-15 15:19:45 +02:00
Adam Barth
49b183c502
Estimate the brightness of the primary color ( #10071 )
...
If the caller doesn't explicitly give the brightness of the primary
color, we now estimate it using an algorithm from the Web Content
Accessibility Guidelines.
Also, this patch contains a function that converts RGB colors to
HSVColors. I was originally going to use that, but the WCAG algorithm
ended up seeming like a better choice. The patch still includes this
function because it's generally useful.
Fixes #5718
2017-05-14 10:09:52 -07:00
Adam Barth
4b7a1912ee
Add NavigatorState.pushAndRemoveUntil ( #10026 )
...
Fixes #9989
2017-05-12 17:45:17 -07:00
Ian Hickson
db84df230d
Some tools to dump other trees. ( #9999 )
2017-05-12 15:51:58 -07:00
Jason Simmons
91b1a07656
Framework support for checkerboardOffscreenLayers ( #10054 )
...
See https://github.com/flutter/flutter/issues/9473
2017-05-12 14:41:07 -07:00
P.Y. Laligand
af4905ffbb
Fixed analysis error. ( #10035 )
2017-05-12 10:03:18 -07:00
Alexandre Ardhuin
5bce52d6be
try use_string_buffers lint ( #10034 )
2017-05-12 19:00:55 +02:00
Hans Muller
09e8c2ffb0
Update ExpansionTile, added a sample app ( #10019 )
2017-05-12 09:11:00 -07:00
Adam Barth
bd56c79767
Handle back during pushReplacement ( #10016 )
...
Previously, we would strand the old route in the overlay even though it had
been removed from the history.
2017-05-11 19:33:37 -07:00
Adam Barth
b9f4e5dac7
Make AnimatedCrossFade's alignment configurable ( #9973 )
...
The default is topCenter, which is sensible, but someone might want to use a
bottomCenter alignment, for example.
2017-05-11 17:47:19 -07:00
xster
81ec553fb6
More Cupertino dialog UI tweaks ( #9960 )
...
* is default
* hit target
* correct test name
* review note
2017-05-10 18:59:50 -07:00
Ian Hickson
e5e5f61c66
Improve error messages from slivers. ( #9971 )
...
Also, fix some logic in SliverPadding.
2017-05-10 17:34:17 -07:00
Ian Hickson
7a52116d05
Make PhysicalModel more convenient, and add debug info ( #9975 )
2017-05-10 16:27:02 -07:00
P.Y. Laligand
d562e1aa63
Fixed some analysis errors. ( #9967 )
2017-05-10 15:30:28 -07:00
Ian Hickson
abaf290119
Further improve the docs for box_painter. ( #9936 )
2017-05-10 15:09:15 -07:00
Hans Muller
3f0aa820e3
Added enableAssertInitializer: true to analysis_options_user.yaml ( #9943 )
2017-05-10 07:14:51 -07:00
Mikkel Nygaard Ravn
bc390ef4d0
Add sample code to FutureBuilder ( #9952 )
2017-05-10 13:42:26 +02:00
Alexandre Ardhuin
e4546584d1
enable always_require_non_null_named_parameters lint ( #9948 )
...
* enable always_require_non_null_named_parameters lint
* Update home.dart
2017-05-10 08:45:36 +02:00
Chris Bracken
60f5ae8e77
Add const non-null asserts where required ( #9945 )
...
Also includes minor doc fixes.
2017-05-09 21:15:42 -07:00
Chris Bracken
0b2fb13269
Add const non-null asserts where required ( #9939 )
...
Also fixes a small typo.
2017-05-09 17:56:49 -07:00
Hans Muller
1157812bb9
Added ExpansionTile and deprecated TwoLevelList et al ( #9938 )
2017-05-09 16:32:01 -07:00
Chris Bracken
5b18fca053
Add const non-null asserts where required ( #9937 )
2017-05-09 15:41:06 -07:00
Ian Hickson
58a11f0117
Fix a few more dartdoc errors ( #9907 )
...
Turns out that `[]:` means something in markdown, so you have to
escape the `:` with a backslash.
2017-05-09 15:33:01 -07:00
Ian Hickson
f4f68dff1b
Make the page-view remembering logic actually work. ( #9905 )
...
It wasn't tested, which is why it didn't work before.
2017-05-09 15:32:54 -07:00
Ian Hickson
9cb12086bb
Samples for BoxDecoration and some related classes ( #9902 )
2017-05-09 14:03:16 -07:00
Chris Bracken
9935b3075c
Use boolean json representation for obscureText ( #9927 )
...
Corrects type from string introduced in
21712a49a76af0fab63246a9acbe61f3e1928070.
2017-05-09 13:48:11 -07:00
Sarah Zakarias
d6b1ad5456
Remove url_lancher and path_provider from services ( #9916 )
2017-05-09 15:13:05 +02:00
Chris Bracken
21712a49a7
Add obscureText field to TextInputConfiguration ( #9908 )
...
Provides a cue to the engine to disable auto-correct/suggest.
2017-05-08 17:38:22 -07:00
Ian Hickson
3012cce146
Clean up Tween and friends. ( #9858 )
2017-05-08 10:42:06 -07:00
Hans Muller
a6eb0a3e38
Gallery animation demo back button update ( #9853 )
2017-05-08 10:13:13 -07:00
xster
f52cbe8189
round 1 ( #9876 )
2017-05-08 00:06:28 -07:00
Ian Hickson
127545a353
More doc fixes. ( #9848 )
2017-05-06 15:08:14 -07:00
Chris Bracken
d1e895224e
Assert that required params are non-null (TextInput) ( #9860 )
2017-05-05 21:44:46 -07:00