Jonah Williams
9e51cc3e83
Add assert for null duration on snackbar ( #22746 )
2018-10-09 13:45:56 -07:00
jslavitz
8d545e9301
Add disabledThumbColor and other properties from Switch to SwitchListTile final ( #22823 )
...
* added missing properties
2018-10-09 13:43:15 -07:00
Hans Muller
655bf6a290
Update uses of ButtonTheme.bar: pass along the current Theme's colorScheme ( #22827 )
...
* Update uses of ButtonTheme.bar
* updated gallery themes
* Remove unnecessary const
Fixes #22789
2018-10-08 15:53:35 -07:00
Ian Hickson
874df1ec21
Fix bug in AnimatedSwitcher ( #22183 )
...
* Refactor AnimatedSwitcher
This is mostly just a little bit of cleanup with hopefully no semantic
changes, done to teach me how the code works so that I could fix a bug.
* Add debugging information to AnimatedSwitcher
* Fix AnimatedSwitcher to handle the case of back-to-back changes
Previously, if a child was replaced the very next frame after it was
added, we'd get confused because we tried to reverse the controller,
which causes us to remove the child from the going-away list, before
we had added the child to the list in the first place.
The fix is just to move the reverse to after the add.
2018-10-08 14:06:18 -07:00
liyuqian
c689c97d05
Remove mixin so we can roll Google3 ( #22819 )
...
We'll roll this back as soon as the Dart analyzer gets upgraded in
Google3.
2018-10-08 11:52:04 -07:00
MH Johnson
0e7b1adda2
[Typo] it it -> if it ( #22743 )
...
* [Typo] it it -> if it
2018-10-08 14:46:55 -04:00
Anthony Bullard
7038c3633b
Fix typo in in raw_keyboard.dart ( #22757 )
...
Obviously a small change, looks like a little copy-paste accident.
2018-10-08 11:09:18 -07:00
Andrew Davies
9ceb9ab305
[flutter_driver] Adds fuchsia compat for connect() ( #22633 )
...
Adds a Fuchsia compatibility function that allows for connecting to a
specific Isolate by name when running Flutter Driver on a Fuchsia
device. This will check over multiple Dart VM's in an attempt to find
an Isolate by its name.
2018-10-08 11:09:07 -07:00
Hans Muller
bbb080b3a3
Material Switch optionally adapts per platform: Switch.adaptive() ( #22688 )
2018-10-08 10:39:59 -07:00
jslavitz
d422e85f5b
Large Dropdown Menu Fix ( #22594 )
...
* Adds comments clarifying the procedure used to render the menu as well as tests verifying various dropdown menu button positioning and initial scroll states.
2018-10-08 10:39:39 -07:00
Jonah Williams
cdf1cec902
add ability to match child semantics data ( #22001 )
2018-10-05 17:44:26 -07:00
Yegor
3184b7cb66
Revert "Use mixin
syntax for Flutter's super-mixins ( #22435 )" ( #22748 )
...
This reverts commit 3c56e6c77dc5c351d610d5c2a11d86e8be88519f.
It breaks the AOT build.
2018-10-05 15:09:38 -07:00
Yegor
3c56e6c77d
Use mixin
syntax for Flutter's super-mixins ( #22435 )
...
* first pass
* revert WidgetsBindingObserver
* disable prefer_mixin
* docs and more mixins
* newer engine; binding fixes
* upgrade dependencies
* fix test binding
* remove whitespace
* remove the obsolete `enableSuperMixins: true`
* upgrade dartdoc to 0.22.0
* temporarily use git version of dartdoc
* fix pub global activate syntax
* use dartdoc 0.23.0
2018-10-05 14:54:41 -07:00
jslavitz
17c289531d
Updated InputDecorator Comment ( #22689 )
...
* updated comment
2018-10-05 13:43:53 -07:00
MH Johnson
ffb48c5ab6
[Documentation] Moved lerp macro definition to painting/ ( #22388 )
...
* [Documentation] Moved lerp macro def to painting/
2018-10-05 13:18:21 -07:00
xster
f7e0f83678
Let MaterialApp/CupertinoApp provide default cupertino localization ( #22706 )
2018-10-05 10:41:09 -07:00
Gary Qian
00bcffd108
Roll engine and update tests ( #22643 )
...
git log 7e3b41dc7ba6..74e68ff8b108 --no-merges --oneline
74e68ff8b Roll src/third_party/skia 7b7805581733..66a973493468 (4 commits) (#6436 )
58fbd1fd1 Roll src/third_party/skia 4442e3138927..7b7805581733 (1 commits) (#6435 )
83151d9fc Roll src/third_party/skia 4dd17156c6e4..4442e3138927 (1 commits) (#6434 )
5fe7e377d Roll src/third_party/skia 8841085abeb9..4dd17156c6e4 (1 commits) (#6432 )
5340f4224 Revert "Use single_root_scheme when compiling platform (#6402 )" (#6431 )
37fd43d43 Add deadline_now_delta argument to Engine::NotifyIdle's trace (#6419 )
4af077b29 Roll src/third_party/skia 4504a652c071..8841085abeb9 (1 commits) (#6429 )
165f3dd1c Update //third_party/benchmark dependency to 21f1eb (ToT). (#6427 )
34bd0ef87 Don’t build benchmarking binaries on Windows. (#6428 )
ae4db4469 Ensure setViewIdResourceName has the correct version guard (#6404 )
2c5d0c407 [rapidjson] Fix import statements (#6418 )
c2128fc80 Create a benchmarking target for the shell. (#6420 )
30f78af91 Raise errors on non-zero exits while creating artifacts on the bots. (#6424 )
191168cec Disable line_height tests on Windows (#6423 )
061cc6643 Fix ideographic baseline to match spec. (#6422 )
74eac1f56 Roll src/third_party/skia bfa76f20bfcf..4504a652c071 (14 commits) (#6421 )
10b45405b Implement ParagraphStyle.line_height and add tests for line_height and baselines. (#6417 )
2018-10-04 10:57:30 -07:00
jslavitz
64029ba6ea
Vertical divider ( #22641 )
...
* Vertical divider bug fix and additional cleaning.
2018-10-04 10:29:32 -07:00
Philip
4a13be4151
Added sample code for scaffold widget [ #21136 ] ( #21613 )
...
* added sample code for scaffold widget [#21136 ]
* Fixed indent and spacing for scaffold sample code
* Update scaffold.dart
Fix one more formatting issue
2018-10-04 10:21:05 -07:00
Alexandre Ardhuin
2ea1d81cdc
sort_constructors_first ( #22575 )
2018-10-04 07:28:07 +02:00
Jonah Williams
3e0cefb80e
Fix build by removing new ( #22634 )
2018-10-03 14:34:50 -07:00
Philip
d0c9560856
Make RotationTransition widget alignment configurable ( #22535 )
2018-10-03 14:20:05 -07:00
jslavitz
f44b277fa6
Custom offset functionality for Popup Menu Button ( #22534 )
...
* Adds offset functionality to popup menu
* Adds a test
2018-10-03 11:19:19 -07:00
Hans Muller
aa6a27e8a2
Updated the ColorScheme dartdoc: a11y ( #22618 )
2018-10-03 11:15:28 -07:00
Gary Qian
37c10acb97
Use 'Future<void>' insted of 'Future<Null>' in SystemChrome ( #22583 )
2018-10-03 11:14:09 -07:00
jslavitz
8d76d37f33
Choice Chip Fix ( #22589 )
...
* choice chip fix
* added test
2018-10-03 11:08:01 -07:00
xster
188c25fbd3
Clarify that only one nav bar should be in each route ( #22584 )
2018-10-02 20:09:23 -07:00
xster
dd3af0e287
Cupertino picker fidelity fixes ( #22537 )
2018-10-02 18:35:02 -07:00
Hans Muller
99a2293893
Added ColorScheme dartdoc ( #22592 )
2018-10-02 17:35:36 -07:00
Hans Muller
eea3465ae7
Added ColorScheme, updated ThemeData, ButtonTheme, material buttons ( #22013 )
...
Introduce an overall material "color scheme" and to make it possible to redefine how a component's visual properties bind to the color scheme and to the existing material Theme.
2018-10-02 14:50:43 -07:00
Gary Qian
46bc911b72
Add 'restoreSystemUIOverlays' to SystemChrome to allow simple UI restore after System force changes. ( #22221 )
...
* Add 'restoreSystemUIOverlays' to SystemChrome to allow simple UI restore after System force changes.
2018-10-02 14:44:39 -07:00
Alexandre Ardhuin
5de96bb734
unnecessary this in field initializers ( #22522 )
2018-10-02 17:14:59 +02:00
Yegor
d91f1608c5
upgrade packages ( #22524 )
2018-10-01 14:42:53 -07:00
Jonah Williams
f19674853c
move doc comment back ( #22525 )
2018-10-01 13:29:21 -07:00
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods ( #22096 )
2018-10-01 21:29:08 +02:00
Alexandre Ardhuin
48fb726b01
compare to null with == ( #21944 )
...
* compare to null with ==
* address review comments
2018-10-01 21:22:51 +02:00
jslavitz
a7303e040d
Selection controls internationalization ( #22443 )
...
* Fix internationalization issues with cupertinoTextSelectionControls
2018-10-01 10:04:08 -07:00
Viet Do
2a8e35cc9c
Cupertino Date Picker ( #21251 )
2018-09-28 18:29:28 -07:00
jslavitz
efc5123d29
Chip press elevation ( #22383 )
...
* Make Chip press elevation customizable.
2018-09-28 16:12:55 -07:00
liyuqian
783c028f2c
Don't push offset to leaf layers ( #21619 )
...
For retained rendering, we don't want to push the offset down to each leaf layer. Otherwise, changing an offset layer on the very high level could cascade the change to too many leaves, which means that we can't retain them.
To not push the offset downwards, we simply push a TransformLayer when there's an offset. Skia has a fast path for concatenating scale/translation-only matrix so this operation should be fast (no performance regression is measured on Moto G4).
This is our first step towards https://github.com/flutter/flutter/issues/21756
2018-09-28 12:21:43 -07:00
liyuqian
598ef49051
Put opacity image source inside "Sample code" ( #22385 )
...
See https://github.com/flutter/flutter/pull/22278#pullrequestreview-159230244
2018-09-28 11:10:11 -07:00
jslavitz
657a41ed8c
Vertical divider ( #22377 )
...
* Add vertical divider option.
* added vertical divider
* restored hello world
* final changes
* a few changes
* comment fixes
* added VerticalDivider
* few changes
* comment changes:
* ultra nits
2018-09-27 16:37:33 -07:00
Jacob Richman
5225f3d235
Revert "Only register WidgetInspectorService extension in debug builds." ( #22366 )
...
This reverts commit 11350fed7f9d2088232354a131ca35a6e0aa6307.
2018-09-27 13:39:44 -07:00
MH Johnson
1ad9f01255
Remove extra space in widget_inspector dart doc ( #22359 )
2018-09-27 15:20:03 -04:00
xster
79dae000c8
Support activeIcon in CupertinoTabBar ( #22323 )
2018-09-27 11:17:00 -07:00
Peter Zagoranski
acbef6aac4
Added elevation to BottomSheet ( #21998 )
2018-09-27 10:08:33 -07:00
Yasutaka Kawamoto
7d47f04ddc
Removed then
( #22346 )
2018-09-27 18:20:11 +02:00
Øystein K
35e9a84c0e
Added more cupertino icons ( #22347 )
...
Microphone, clock, time, padlock and eye icons added (both outlined and solid)
2018-09-27 09:16:13 -07:00
Michael Klimushyn
020fd590b0
Prevent dropdown menu's scroll offset from going negative ( #22235 )
...
In long lists this resulted in the dropdown scrolling to the very last
item in its list. Now clamping the value at `0.0`. Added a test to
verify that the selected item aligns with the button to test the offset.
Fixes flutter/flutter#15346
2018-09-26 14:28:26 -07:00
liyuqian
84c61ad640
Add doc for transparent image inside Opacity ( #22278 )
2018-09-26 13:03:26 -07:00