Commit graph

9433 commits

Author SHA1 Message Date
liyuqian 16d3847847
Fix typo "when when" (#27413) 2019-02-01 15:04:51 -08:00
rami-a 4ba35a6eab
Add elevation/pressElevation to ChipThemeData (#27399)
Allow the theme to provide these values to Chips
2019-02-01 15:54:02 -05:00
MhdHejazi af3cdb33da #19060 Update material.google.com links to material.io (#26807) 2019-02-01 10:14:48 -08:00
Sahel Lucas 4e235c0cd8 Add Checkbox checkIcon color parameter #26808
The new parameter defines the color of the checkbox's check mark. Default is (still) white.
2019-02-01 09:01:43 -08:00
Hans Muller d5b6480648
Material.border type is now BorderRadiusGeometry (#27376) 2019-02-01 08:24:35 -08:00
rami-a e57f57c72c
Add elevation to Chips to allow for more flexibility (#27316)
Expose elevation on chips and allow for it to be customized by the developer.
2019-02-01 09:33:39 -05:00
Jacob Richman fac051c778
Fix bug in diagnostics for UnconstrainedBox class. (#27381) 2019-01-31 19:49:32 -08:00
Rodolfo Carvalho b685a3ea82 Fix typo in WrapAlignment documentation (#27322) 2019-01-31 19:17:57 -08:00
Jonah Williams 8e2ea26301
Make the deviceDiscovery API overridable (#27378) 2019-01-31 18:42:30 -08:00
Alexander Aprelev 030dc3fade
Don't send accept/reject if compilation never started. (#27319)
* Don't send accept/reject if compilation never started.

Ensure that we wait for reject's response since that is async operation.

Fixes https://github.com/flutter/flutter/issues/27120.

* Fix analysis errors

* Rename flag. Ensure we raise it on first compilation too.
2019-01-31 17:43:32 -08:00
Anthony cfe992d087
[Material] Custom track, tick mark, and overlay shape painters for Slider (#25008)
Create a slider shape for custom track, tick mark, and overlay painting, for the material slider.
2019-01-31 16:40:22 -08:00
Ian Hickson d5d47f6384
[H] Add ImageStreamCompleter.hasListeners (and cleanup) (#25865)
* Remove stray extra space

* Add ImageStreamCompleter.hasListeners (and cleanup)

This is mostly just some cleanup of stuff I ran into, but it makes
`hasListeners` protected on `ImageStreamCompleter`, because otherwise
there's no way to track if listeners are registered or not.

* Address review comments
2019-01-31 14:28:01 -08:00
Zachary Anderson 7634a0ecbe
[flutter_tool,doctor] Fix and test gen_snapshot failure message (#27253) 2019-01-30 13:01:19 -08:00
rami-a 327e3eff77
Add Material/Card borderOnForeground flag to allow border to be painted behind the child widget (#27297)
In certain situations, a developer may require the border of a Material to be painted behind its child. For example a Card widget that has a full width image across the top half. In that scenario, the image should ideally be painted above the border with regards to z-position.

This change exposes a flag on Material widget to achieve this behavior. Additionally, the same flag is exposed on Card widget to allow the Card widget to pass this down to its Material.

I added a couple golden tests to verify this new behavior. Goldens are here:
46a3d26acb
2019-01-30 15:59:50 -05:00
Jason Simmons 1f2ab5a6d4
Declare a system message channel for Skia configuration (#26262)
Fixes https://github.com/flutter/flutter/issues/25244
2019-01-30 11:14:41 -08:00
KyleWong 7c19ec6ca8 Add2App: Fix crash resulted from hard-code module 'app' based resource copy. (#27154) 2019-01-30 10:29:29 -08:00
Michael Goderbauer 6d20ff2446
Remove all obsolete "// ignore:" (#27271) 2019-01-30 08:56:12 -08:00
Michael Goderbauer dc38a260a8
Fix asserts for initialDateTime in CupertinoDatePicker (#27272) 2019-01-30 08:54:43 -08:00
Jonah Williams c219e6f3b1
Inject KernelCompiler via KernelCompilerFactory (#27211) 2019-01-30 08:34:01 -08:00
jonnyandrew 59dc909d0f Include empty config in 'flutter config' output (#25094) 2019-01-30 07:36:03 -08:00
sjindel-google 95b34d7a07 Pass --verify-entry-points in debug mode. (#27032) 2019-01-30 07:33:55 -08:00
Mohammed Salman 8cb2695a0b fix #26207 .gitignore only include project root build directory (#26388) 2019-01-30 07:33:28 -08:00
Todd Volkert c8c935cd83 Allow bundle identifier to be surrounded with quotes. (#26300)
Picked up from #22498, originally by @jugyo
2019-01-30 07:32:05 -08:00
Jonah Williams 763a8d6d9b
add support to multiroot scheme to PackageUriMapper (#27207) 2019-01-30 07:31:16 -08:00
Konstantin Scheglov 39289b83ac
Update additionalTime in TestWidgetsFlutterBinding.runAsync() to 1000. (#27256) 2019-01-30 07:31:00 -08:00
Michael Goderbauer ce14fe0230
Add missing comma to fix build (#27274) 2019-01-29 22:33:27 -08:00
Michael Goderbauer e7d6348826
Add arguments for pushing named routes (#27058) 2019-01-29 21:35:21 -08:00
Michael Goderbauer f365217e6a
Update Align docs (#27260) 2019-01-29 21:34:29 -08:00
KyleWong 60aa49e064 Let injectPlugins integrate custom pods (#26970) 2019-01-29 20:33:16 -08:00
Siva 4e68b7c752
Add support for experimental flags during hot reload. (#27252)
* Add support for experimental flags during hot reload.
2019-01-29 17:19:06 -08:00
Jeff Scaturro dd86f70f4a [cupertino_icons] add car, bus, train, paw, controller, and flask icons. (#26774)
* [cupertino_icons] add car, bus, train, paw, controller, and flask icons.

* [#26774] remove whitespace
2019-01-29 14:28:49 -08:00
akindone 13a30c0ce1 fix: cuertino dialog action background blur effect (#25076) 2019-01-29 14:09:59 -08:00
Alexandre Ardhuin ef276ffea5
format initializer list of constructors (#27111) 2019-01-29 21:47:16 +01:00
Jonah Williams ca92efecae
Add module checking (#27122) 2019-01-29 12:26:48 -08:00
Konstantin Scheglov 4fe41abfcc
Add default values for optional parameters. (#27197) 2019-01-29 11:49:57 -08:00
Greg Spencer 1811d57445
Implement hover support for mouse pointers. (#24830)
This implements support for hovering mouse pointers, so that mice connected to Android devices, and ChromeOS devices running Android apps will work properly.

It teaches flutter_test about hover events, which required changing how they are created and used.

Also modifies AnnotatedRegion to allow a region that can be located someplace other than just the origin.

Along with tests for all of the above.

Fixes #5504
2019-01-29 11:34:26 -08:00
Michael Goderbauer c9d5b129e2
Remove obsolete ignore: (#27199) 2019-01-29 10:36:53 -08:00
Remi Rousselet 1d773ace3f Make reassemble public (#26900) 2019-01-29 00:23:27 -08:00
Chinmay Garde e38efc890b
Add a flag to enable tracing to systrace. (#27208) 2019-01-28 19:55:01 -08:00
jslavitz d2a2a5cfe2
Adds a fade in and out, rounds corners, fixes offset and fixes height of cursor on iOS (#24876)
* Fixes cursor on iOS devices
2019-01-28 19:49:19 -08:00
jslavitz 9f20bd6cb9
Adds haptic vibration to Cupertino switch (#27114)
* adds haptic vibration to switch
2019-01-28 18:41:13 -08:00
Hans Muller 237fc2fb45
PopupMenuDivider.represents() paramter must be void, not Null (#27195) 2019-01-28 16:20:18 -08:00
Dan Field c082f8d8a3
Revert f9e6242db (#26944) (#27191)
* Revert f9e6242db

* fix pubspec

* finish pubspec upgrade
2019-01-28 15:35:59 -08:00
jimshepherd 74ebdacad5 Fix DropDownButton with no items resulting in RenderFlex overflow (#26143) 2019-01-28 10:07:02 -08:00
Danny Tuppeny d5fd57cfbd
Improve unsupported text (#27186) 2019-01-28 17:51:23 +00:00
Danny Tuppeny 64a1ce011a
Change "Starting Xcode build" text to "Running xcode build" (#27181)
This status shows for the duration of the run, not just while starting. It looks kinda weird in the editors to show a progress bar for "Starting Xcode build" and then removing it once it completes.
2019-01-28 16:24:56 +00:00
Dan Field bb5663d2d8
Add docs and sample for takeException (#27140)
* Add docs and sample for takeException

* fix sample
2019-01-27 09:43:09 -08:00
Jonah Williams 04546cc69c
prevent _computeColumnWidths from getting stuck due to double precision (#27112) 2019-01-25 23:37:19 -08:00
Hans Muller f131c80b10
Updated DropdownButton docs (#27042) 2019-01-25 16:20:39 -08:00
Jonah Williams 91fd89e8b3
Wrap dart:convert to track utf8 decode failures (#26650) 2019-01-25 16:16:26 -08:00