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
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
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
jslavitz
8d76d37f33
Choice Chip Fix ( #22589 )
...
* choice chip fix
* added test
2018-10-03 11:08:01 -07:00
xster
dd3af0e287
Cupertino picker fidelity fixes ( #22537 )
2018-10-02 18:35:02 -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
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods ( #22096 )
2018-10-01 21:29:08 +02: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
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
xster
79dae000c8
Support activeIcon in CupertinoTabBar ( #22323 )
2018-09-27 11:17:00 -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
MH Johnson
f37c235c32
[Material] Add TabBarTheme ( #22012 )
...
* Add tab bar theme.
* Add tab bar theme.
* Add tests, pass context to getters.
* update goldens from linux box
* update goldens from linux box
* Added new golden test, addressed comments
* override hashCode and == in TabBarTheme
* Fix comment typos
* Addressed Hans' comments.
* Formatting changes
* [TabBarTheme] Fixed spacing
* [TabBarTheme] Update goldens version to latest commit
2018-09-25 17:45:40 -04:00
Dan Field
5c07e6dff7
fix analyzer ( #22273 )
2018-09-25 14:29:09 -04:00
Dan Field
ea5435c2ef
Widgets app refactor ( #22269 )
...
* Refactor of cupertino/material/widgets app
* update docs
* Update tests for const
2018-09-25 13:57:12 -04:00
Hans Muller
582f35dfb1
PageTransitionsTheme, new MountainView page transition ( #21715 )
...
MaterialPageRoute transitions are now defined by the Theme. Added (optional) support for Android P style page transitions.
2018-09-25 10:56:29 -07:00
Dan Field
a52bd81560
Revert "Refactor of cupertino/material/widgets app ( #22161 )" ( #22249 )
...
This reverts commit 61cf946ba8c55c73c9119a203d07b8c025b6aa92.
2018-09-25 00:25:50 -04:00
Dan Field
61cf946ba8
Refactor of cupertino/material/widgets app ( #22161 )
...
* Make CupertinoApp and MaterialApp both use WidgetsApp for Navigator
* Make CupertinoApp and MaterialApp const constructors
* Make WidgetsApp routes aware
* Update tests
2018-09-24 23:55:03 -04:00
Ian Hickson
6d134e0c86
Animation API improvements ( #21540 )
2018-09-23 00:43:05 -07:00
Devon Carew
762c86995d
expose the debugProfileBuildsEnabled flag as a service extension ( #21492 )
...
* expose the debugProfileBuildsEnabled flag as a service extension
* fix tests
* review comments
* remove a new keyword
* test fixes
* review comments
2018-09-22 14:44:09 -07:00
Ian Hickson
989cf18b0d
[H] Cleanup ( #21542 )
...
* Improve documentation and clean up code.
* Remove "Note that".
The phrase "note that" is basically meaningless as a prefix to an
otherwise fine sentence.
2018-09-22 02:02:56 -07:00
Gary Qian
449e3c2a0a
Roll engine 2e8e96fad1..a8890fdccd667 and fix paragraph tests ( #22111 )
2018-09-20 19:46:50 -07:00
Yegor
833540972f
add a test for single- and multi-line paragraph layout ( #22047 )
...
* add a test for single- and multi-line paragraph layout
* use flutter_test
* use closeTo for double comparison
2018-09-20 16:44:19 -07:00
Jonah Williams
85b4670b2a
Revert "Implement Double Tap Handling in TextField and Editable" ( #22051 )
...
* Revert "Revert "Add RichText support to find.text" (#22046 )"
This reverts commit 8e704219138147bc0a46e9547cbe6519cf0bb6c7.
* Revert "Implement Double Tap Handling in TextField and Editable (#21264 )"
This reverts commit 02e87334ddb9f64a2ff12c0dc201f3e410e74be7.
2018-09-19 14:59:23 -07:00
Niko Yuwono
02e87334dd
Implement Double Tap Handling in TextField and Editable ( #21264 )
...
Thanks @NikoYuwono for getting this working! We appreciate your help!
* Implement Double Tap Handling in TextField and Editable
* Fix test broken by the change and add test for double tap
* Fix affected tests
* Remove unnecessary new
* Fix test
2018-09-19 13:35:33 -07:00
Renan
74e93e4c5c
Make ScaleGestureRecognizer detect pointer rotation ( #17345 )
2018-09-19 11:48:41 -07:00
Jonah Williams
bf7c27095c
Make helper and error text separate widgets, make error and counter live region ( #21752 )
2018-09-18 13:39:21 -07:00
Jacob Richman
ccd070a5b4
Add back screenshot extension that was temporarily disabled. ( #21828 )
...
Add back screenshot extension that was temporarily disabled.
Add matchesReferenceImage matcher to test that the screenshot extension
generates equivalent images to InspectorService.instance.screenshot.
2018-09-18 09:32:39 -04:00
Alexandre Ardhuin
e2d0b062d9
remove unnecessary ignore prefer_const_constructors ( #21934 )
2018-09-18 05:54:03 +02:00
Jason Simmons
6f435b286e
Stop the animation controller if a CircularProgressIndicator is determinate ( #21832 )
...
Fixes https://github.com/flutter/flutter/issues/21445
2018-09-17 10:08:27 -07:00
Alexandre Ardhuin
a07d3719a1
enable lint prefer_generic_function_type_aliases ( #21680 )
2018-09-14 21:06:19 +02:00
Jonah Williams
9bf8502fef
Add debug check for localization parent ( #20787 )
2018-09-13 10:47:31 -07:00
Hans Muller
d107ff9d48
Make TabBar's tab label padding configurable ( #21758 )
2018-09-13 08:59:00 -07:00
Jonah Williams
23499f4004
Fix typo in MediaQuery.fromWindow and add invertColors flag to images for smart invert. ( #21457 )
2018-09-12 14:50:49 -07:00
Jonah Williams
5ea987db1d
Adjust floating label height when font size is larrrrgeee ( #21248 )
2018-09-12 14:17:43 -07:00
Jonah Williams
dd1c22e389
fix_some_padding ( #20967 )
2018-09-12 14:07:02 -07:00
Jacob Richman
29fae06f48
Temporarily remove screenshot service extension that is causing code size issues ( #21749 )
...
* Revert "Avoid ever creating the WidgetInspectorService outside of debug mode. (#21648 )"
This reverts commit eeebd8332a5f4f5c79a9c77877781d7f1132d57b.
* Remove inspector screenshot service extension.
2018-09-12 13:30:16 -07:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Alexandre Ardhuin
774ca2f197
enable lint avoid_void_async ( #21652 )
2018-09-11 07:14:04 +02:00
Dan Field
98ad574d9b
Fix keepalive for large jumps on tabs and lists. ( #21350 )
...
* Ensure that the _childElements map is properly traversed as a sparse list and not inflated with garbage collected children.
* Add tests to ensure Lists/Tabs with KeepAlive children can make large jumps, don't lose children (including after rebuild).
2018-09-10 21:01:10 -04:00
jslavitz
9dce4b8259
Shortcuts ( #21558 )
...
* added shortcuts and delete functionality
* added first test
* afew chnages
* a few changes
* hope this works
* small change
* small changes
* fixed nits
* final changes:
* fixed initializing formals
* update comment
* minor change:
* added line
* final changes
* random change
* changed function to void
* one more
* removed line
* dis betta work
* final change
* actual final chnge
2018-09-10 13:47:04 -07:00