4100 Commits

Author SHA1 Message Date
Greg Spencer
6c049ec286
Rename AnimatedChildSwitcher to AnimatedSwitcher (#16551)
We don't really like the name AnimatedChildSwitcher, and we think that AnimatedSwitcher might be better (since the Child part is redundant). We also considered AnimatedChild, AnimatedTransition and AnimatedReplacement (among others).

Nothing in here besides a rename.
2018-04-15 19:24:49 -07:00
Ian Hickson
1c3f6a851f
Fix formatting of Flex error message (#16498) 2018-04-12 21:16:39 -07:00
Greg Spencer
c73b8a7cf6
Fix a bug in the AnimatedChildSwitcher, add builders. (#16250)
This fixes a rendering problem in the AnimatedChildSwitcher where it would add a new "previous" child each time it rebuilt, and if you did it fast enough, all of them would disappear from the page.

It also expands the API for AnimatedChildSwitcher to allow you to specify your own transition and/or layout builder for the transition.

Fixes #16226
2018-04-12 16:17:26 -07:00
Greg Spencer
7a78741920
Revert "Changing the slider thumb size." (#16541)
This reverts commit 6494ab23f6a063c689441f55c3aba1b3c8e26b5b.
2018-04-12 16:11:43 -07:00
Greg Spencer
5129d8ffa6
Rename Rail to Track, per UX guideline (#16519) 2018-04-12 12:32:30 -07:00
Greg Spencer
4dbbf67887
Adding ChipTheme, ChipThemeData, and some more tests. (#16447)
This converts the chips to use a ChipThemeData to get most of their customization values from (if not overridden by specific arguments to the chip constructors), and to have the base ThemeData contain one of these. It also adds the ChipTheme widget that will allow overriding the theme for a particular subtree in the widget hierarchy.

Added tests for both, and just more tests in general for the Chips.
2018-04-12 11:13:42 -07:00
Greg Spencer
c31706f996
Changing the slider thumb size. (#16515)
The spec changed the size of the slider thumb, so this just effects that change.
2018-04-12 10:22:41 -07:00
Devon Carew
071485258f
Revert "re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server (#16281)" (#16482)
This reverts commit 2f41ea546f98a2bacabcd2444ca7ce4127a4360a.
2018-04-11 16:49:38 -07:00
Devon Carew
2f41ea546f
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server (#16281)
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server
2018-04-11 14:50:36 -07:00
Michael Goderbauer
49a3adc1ac
AutomaticKeepAlive now keeps alive (#16445)
Fixes https://github.com/flutter/flutter/issues/16346.

See https://github.com/flutter/flutter/issues/16346#issuecomment-380255095 for detailed explanation of what was going wrong before this fix.
2018-04-11 10:31:47 -07:00
Alexander Aprelev
a2951a9a1f Roll engine to ed303c628fe4b322529f8cf01ecb38135a2bab73 (dart roll)
Changes since last roll:
```
ed303c628 Roll dart sdk again. Previous roll required 23ae4fa098 revert. (#4966)
8cd272733 Revert "Roll dart to 7764e6962e22afcf4b58c4e3cef3147330f3c884. (#4960)" (#4965)
9199b40f2 Revert "Support multiple shells in a single process. (#4932)" (#4964)
6baff4c82 Support multiple shells in a single process. (#4932)
31c5bb427 Roll dart to 7764e6962e22afcf4b58c4e3cef3147330f3c884. (#4960)
c8e4c6984 Avoid copying the contents of large platform message responses (#4947)
5ff527295 Update to use new vulkan GrBackendRenderTarget ctor. (#4962)
0c8993a1a Update to use new vulkan GrBackendRenderTarget ctor (part 2) (#4963)
132ebdda8 Revert "Roll src/third_party/skia/ 9874bf1bc..52e16d984 (135 commits) (#4958)" (#4961)
11882ab9e Roll src/third_party/skia/ 9874bf1bc..52e16d984 (135 commits) (#4958)
```

Add consts
2018-04-10 20:17:06 -07:00
Ian Hickson
497b9deb2a
Some cleanup of Chips that I found while learning the code. (#16249) 2018-04-10 16:43:57 -07:00
Jason Simmons
c3ce892c9e
Add support for locale-specific text styles (#16430)
See https://github.com/flutter/flutter/issues/12630 and
https://github.com/flutter/flutter/issues/16408
2018-04-10 13:41:51 -07:00
Greg Spencer
c43134a71c
Fixes a problem with the height of the chip label (#16420)
There was a bug in the size calculation for the height of the chip label, where it would force the label to be larger than it wanted to be, causing text to not be vertically centered.
2018-04-10 12:02:52 -07:00
Jonah Williams
fbfaffe1db
Do not add run spacing if there are no run metrics (#16290)
* do not add run spacing if there are no run metrics
2018-04-10 09:38:00 -07:00
Roberto Scaramuzzi
cdc68a73e6 Update text_form_field.dart (#15843)
* Update text_form_field.dart

* Update text_form_field_test.dart

* Update text_form_field_test.dart

* Update text_form_field_test.dart
2018-04-09 13:43:43 -07:00
Jacob Richman
660408edd6
Switch to the new Matrix4.tryInvert method to avoid throwing and catching (#15771) exceptions while performing hit testing. 2018-04-09 10:32:22 -07:00
Jonah Williams
037a4aef16
Un(less)conditionally schedule first callback frame when creating ticker (#16261)
* always schedule first frame when creating ticker, regardless of phase or frame
2018-04-06 13:09:07 -07:00
David Shuckerow
cb3df70da6
Spelling (#16210) 2018-04-06 10:00:06 -07:00
Greg Spencer
6055c56e23
Rename chip's border attribute to shape for consistency. (#16276)
This renames the chip's border attribute to 'shape' so that it is consistent with the other places where we supply a ShapeBorder.

This is a breaking change, but a very small one: the border attribute was introduced only a few months ago, and is not widely used.
2018-04-05 16:16:00 -07:00
Hans Muller
af9e15f361
Added BeveledRectangleBorder ShapeBorder (#16279) 2018-04-05 16:02:47 -07:00
Hans Muller
c7d982eba3
Updated appearance of filled TextFields - added UnderlineInputBorder.borderRadius (#16272) 2018-04-05 12:08:11 -07:00
Yegor
eb69a20c0a
fix date/time picker borders (#16240) 2018-04-04 16:39:25 -07:00
Jonah Williams
ae96e81ce4
export RawKeyEvent from RawKeyboardListener (#15956)
Adds an export of the RawKeyEvent type from the RawKeyboardListener library, since it is required by the API
2018-04-04 10:06:10 -07:00
Adam Barth
3ff25c7792
Add _PointerState#toString (#16197)
This method makes it easier to debug issues involving broken pointer
states.
2018-04-04 09:03:56 -07:00
Greg Spencer
7a6a65a597
Adding all the different types of chips, along with their complex behaviors (#16039)
This implements various different chip types: There are now the InputChip, ChoiceChip, FilterChip, ActionChip, and the original vanilla Chip, all of which have different uses. They can be customized in a number of ways. See their docs for more information.

Also fixes #16083
2018-04-03 19:31:08 -07:00
David Shuckerow
68c77e37e2
Add a bottom app bar to the floating action button motion demo. (#16196) 2018-04-03 19:30:14 -07:00
Hans Muller
b8629bab8d
Made Card's margin configurable (#16203) 2018-04-03 17:41:58 -07:00
Greg Spencer
6c896ae1f6
Add AnimatedChildSwitcher widget (#16192)
The AnimatedChildSwitcher widget (originally authored by Hixie), will cross-fade between a new child, and a previous child (or children, if the switch happens faster than the fade finishes).

It's a good candidate for places where a widget will be added/removed from a slot, and you want a nice transition to occur.
2018-04-03 16:27:32 -07:00
Hans Muller
f3c742c8a6
Added BottomAppBar docked FloatingActionButtonLocations (#16167)
* Added BottomAppBar docked FloationActionButtonLocations

* Moved the startTop FloatingActionButtonLocation to the demo

* fixed a typo
2018-04-03 14:25:06 -07:00
Greg Spencer
487e6bc91e
Adding onTapDown and onTapCancel to InkWell (#16190) 2018-04-03 10:59:12 -07:00
Hans Muller
5e9424419e
updated_card (#16187) 2018-04-03 10:35:07 -07:00
Hans Muller
6a080aa950
Fix ExtendedFloatingActionButton width (#16168) 2018-04-03 08:14:06 -07:00
Mikkel Nygaard Ravn
0a4c116683
Add code samples for invokeMethod (#16150) 2018-04-03 16:50:55 +02:00
xster
b397406561
Let CupertinoTabScaffold's tab be programmatically selectable (#16040)
* Let CupertinoTabScaffold's tab be programmatically selectable

* Re-use the tab bar's index instead

* review
2018-04-02 13:53:20 -07:00
Victor Choueiri
68728e9f98 Better error message when TextField is not in a Material (#16147)
Added a call to debugCheckHasMaterial() at the start of TextField's build method.
2018-04-02 11:28:39 -07:00
Hans Muller
f069878618
Update indeterminate LinearProgressIndicator (#16106) 2018-04-02 10:07:12 -07:00
Jason Simmons
b4274ef685
URL encode asset paths to support reserved characters in paths (#16046)
Fixes https://github.com/flutter/flutter/issues/14864
2018-03-29 13:47:35 -07:00
Michael Goderbauer
35a7f43749
Fix FAB Tooltip semantics label (#16072) 2018-03-29 15:37:05 -04:00
najeira
464109c0e7 AppBar shows CloseButton even on custom PageRoute (#15643)
* AppBar accepts custom PageRoute

* remove unused import

* update AUTHORS
2018-03-29 10:36:03 -07:00
Hans Muller
8e97807671
Support for disabling TextField, TextFormField (#16027) 2018-03-29 07:28:22 -07:00
xster
cab8242f27
Revert "Re-enable usage of TransformLayers with text in RenderListWheelViewport (#15625)" (#16042)
This reverts commit 1f5d904182f866102fe40a3e640863f9888783e7.
2018-03-28 18:58:19 -07:00
Stanislav Baranov
c5288c7346
Support for decimal and signed numeric keyboard (#15846)
* Support for decimal and signed numeric keyboard

* Comments

* Rebase.

* Roll engine to dd6f46c485192f4506035088c9065b9f5dbba9ab
2018-03-28 08:32:27 -07:00
Hans Muller
8ca99327f9
Corrected default tab indicator color (#15959) 2018-03-27 13:39:05 -07:00
Greg Spencer
2171fcb882
Address post-submit comments for sliders (#15836)
* Address post-submit comments

* Added dispose protection for the animation controllers.
2018-03-25 00:04:24 -07:00
Greg Spencer
a6d8ca2980
Post submit review changes for chip (#15835) 2018-03-24 17:55:40 -07:00
xster
03683bf638
Add more doc linking the material and cupertino refresh controls (#15842)
* Add more doc linking the material and cupertino refresh controls

* review
2018-03-23 15:10:17 -07:00
Hans Muller
3a93061e9e
Extended Floating Action Button (#15841) 2018-03-23 14:40:18 -07:00
xster
1f5d904182
Re-enable usage of TransformLayers with text in RenderListWheelViewport (#15625)
* Re-enable usage of TransformLayers with text in RenderListWheelViewport

* add test

* linter fix
2018-03-23 13:01:44 -07:00
Greg Spencer
b3b9b2215a
Updating checkmark animation (#15850) 2018-03-23 08:58:29 -07:00