lisa-liao
8b90d9d045
Allow independent theming of Persistent and Modal bottom sheets Background Color ( #39333 )
2019-09-06 13:06:01 -04:00
LongCatIsLooong
8661dc4022
Make CupertinoDynamicColor.resolve return null when given a null color ( #39927 )
2019-09-06 09:58:13 -07:00
chunhtai
57d714ebb8
fix widget built twice during warm up frame ( #39079 )
2019-09-06 09:46:18 -07:00
Walid Elalaouy
8601bb7b38
Add showAboutDialog sample ( #39299 )
2019-09-06 09:06:53 -07:00
Michael Goderbauer
e2325600ea
Do not render any frames when just initializing Bindings ( #39535 )
2019-09-05 17:08:50 -07:00
Ian Hickson
a415c76b5b
Docs ( #39198 )
...
* Minor improvements to framework documentation.
* maybePop documentation fix
* Mark some flutter_test arguments required.
Without these set, we get a crash.
* Minor correction to ListView docs
2019-09-05 15:11:50 -07:00
LongCatIsLooong
443892bd27
CupertinoButton & Bottom tab bar dark mode ( #39765 )
...
* CupertinoTabBar
* CupertinoButton
* update
* review
2019-09-05 10:06:45 -07:00
liyuqian
7c0dfd5362
Revert "Replace deprecated onReportTimings w/ frameTimings ( #38861 )" ( #39778 )
...
This reverts commit 6ef80b447f07148503e654bc05b0a07c57c92579.
2019-09-05 09:58:08 -07:00
Justin McCandless
64424a6ae4
Null TextWidthBasis docs ( #39761 )
...
Docs improvement after seeing "null" showing up for TextWidthBasis.
2019-09-05 09:54:56 -07:00
Mouad Debbar
2640bfeb10
Allow gaps in the initial route ( #39440 )
2019-09-05 09:51:35 -07:00
Anthony
3932ffb1cd
Revert "Show search app bar theme ( #37962 )" ( #39786 )
...
This reverts commit e3f8d0554089a0c391ff8078af42e1ae2ba32e22.
2019-09-04 20:13:16 -07:00
rami-a
af9f210443
Fix single action banner to ensure button alignment ( #39583 )
2019-09-04 09:41:46 -04:00
Greg Spencer
f9bc89932c
Re-Land of HighlightMode change with benchmark improvements. ( #39589 )
...
* Automatic focus highlight mode for FocusManager
This re-lands the highlight mode change.
* Review Changes
2019-09-03 17:49:41 -07:00
LongCatIsLooong
e7f608072b
CupertinoActionSheet dark mode & fidelity ( #39215 )
2019-09-03 13:48:09 -07:00
LongCatIsLooong
63c3de1091
Timer picker fidelity revision ( #38481 )
...
* WIP
* trying out different numbers
* apply intrinsic width and height
* update
* update behavior
* documentation
* wip
* fix tests
* constants
* respect theme
* respect theme
* add new test
* add new test
* update
* review
* update golden commit hash
2019-09-03 11:54:25 -07:00
chunhtai
36a7e3f0ef
fix sliverfixedextent with sliverchildbuilderdelegate does not correct calculate max scroll extent ( #39142 )
2019-09-03 10:27:37 -07:00
Tom Robinson
f5fc32ff8f
Update docs for GrowthDirection and scrollOffset ( #39286 )
2019-09-03 09:45:44 -07:00
Francisco Magdaleno
deb155e89a
[macos] Check for special keys before creating a logical key ( #37901 )
2019-09-03 09:13:01 -07:00
LongCatIsLooong
ad47f9eea9
CupertinoActivityIndicator & CupertinoApp dark mode ( #39289 )
2019-09-03 07:52:36 -07:00
Greg Spencer
8daa165d01
Make disabled buttons/chips/text fields not be focusable. ( #38726 )
...
This changes the behavior of text fields, Material buttons, and Chips so that if they are disabled they lose focus. Before this change, it was possible to disable a control and then use focus traversal to reach it anyhow, and in the case of text fields, enter text into a disabled field.
Fixes #33985
2019-09-03 07:51:28 -07:00
rami-a
0ebcfe10da
Prevent exception when creating a Divider borderSide ( #39572 )
2019-09-03 10:15:42 -04:00
Anthony
e3f8d05540
Show search app bar theme ( #37962 )
...
Use the entire appBarTheme from the showSearch delegate for the search pages appBar theme, rather than just a select set of fields.
2019-09-02 14:23:42 -04:00
Mouad Debbar
a2957c571e
Upstream changes necessary for text editing in flutter web ( #39344 )
2019-08-30 10:00:03 -07:00
Anthony
bb1d139c50
Replace doc example text ( #39428 )
...
The Text in the Transform.scale example is "Bad Ideas", which could be confusing as example code. This PR replaces it with something more random.
2019-08-30 10:29:32 -04:00
Matt Carroll
d5c5ac62ad
Revert "Add handling of 'TextInput.clearClient' message from platform to framework ( #35054 ). ( #35100 )" ( #39523 )
...
This reverts commit 324fe201b0231fcc39fff8c99fee1b22425c4bc0.
2019-08-29 21:52:33 -07:00
Gary Qian
7e361d7461
Reland "Expose LineMetrics in TextPainter ( #39282 )" ( #39519 )
2019-08-29 17:19:14 -07:00
LongCatIsLooong
98b9f31478
make CupertinoDynamicColor const constructible ( #39430 )
...
* make CupertinoDynamicColor const constructible
* review
2019-08-29 16:40:16 -07:00
Harry Terkelsen
13bd52bf9e
Add HtmlElementView (the Flutter Web platform view) ( #37819 )
...
* Implement HtmlView, the platform view widget for Flutter Web
* Document HtmlView constructor
* Respond to review comments
* - Rename to HtmlElementView
- Assert running on web
- Move test to Chrome-only file
2019-08-29 12:49:04 -07:00
Jonah Williams
ed4794382b
Revert "Expose LineMetrics in TextPainter through computeLineMetrics. ( #39282 )" ( #39504 )
...
This reverts commit d67f47b21e49530a07df38a9108edac854b6b286.
2019-08-29 12:14:02 -07:00
Gary Qian
d67f47b21e
Expose LineMetrics in TextPainter through computeLineMetrics. ( #39282 )
2019-08-29 11:28:04 -07:00
Tong Mu
4fc11db5cc
Add IterableFlagsProperty and use it on proxy box classes ( #39354 )
...
* Add FlagsSummary and implement Listener
2019-08-29 10:07:48 -07:00
Harry Terkelsen
9f4ab273f1
Add viewType to PlatformViewLink ( #39446 )
...
* Add viewType to PlatformViewLink
Re-initialize the controller when the viewType changes.
* Re-word `PlatformViewLink` doc comment for clarity
2019-08-28 20:02:08 -07:00
Jonah Williams
73b798b260
Revert "Better docs for text ( #38922 )" ( #39447 )
...
This reverts commit ddd31bcee74c2da986f9764f1af31ae50b3c3557.
2019-08-28 16:01:47 -07:00
liyuqian
6ef80b447f
Replace deprecated onReportTimings w/ frameTimings ( #38861 )
...
This is the continuation of https://github.com/flutter/engine/pull/11041 and https://github.com/flutter/flutter/pull/38574
This is not a breaking change as we're not removing `onReportTimings` API.
We're simply removing the use of it in our framework.
2019-08-28 15:25:06 -07:00
Ian Hickson
ddd31bcee7
Better docs for text ( #38922 )
2019-08-28 14:41:09 -07:00
Kenzie Schmoll
13f18d5a66
Make inspector details subtree depth configurable. ( #39085 )
...
* Make inspector details subtree depth configurable.
2019-08-28 14:02:12 -07:00
Andrei Lesnitsky
35de8d5278
respect reversed scroll views ( #39195 )
...
This PR makes Scrollable scroll in correct direction when reverse: true on desktop and web
2019-08-28 06:49:49 -07:00
Justin McCandless
d3b70c91bf
Add the textAlignVertical param to TextFormField ( #39144 )
2019-08-27 19:08:35 -07:00
Tong Mu
7f02566ca6
Add "OneSequenceRecognizer.resolvePointer". Fix DragGestureRecognizer crash on multiple pointers ( #39017 )
...
* Add drag tests
* Add resolvePointer
* Correct monodrag implementation
* Fix some addTearDown
2019-08-26 17:44:01 -07:00
Tom Robinson
6204eb6445
Change SliverGeometry.maxScrollObstructionExtent for RenderSliverFloatingPersistentHeader to match docs ( #39263 )
...
RenderSliverFloatingPersistentHeader does not pin to the leading edge of the viewport so the value of maxScrollObstructionExtent in it's SliverGeometry should be 0 per the docs at https://api.flutter.dev/flutter/rendering/SliverGeometry/maxScrollObstructionExtent.html .
2019-08-26 15:42:10 -07:00
Venkataramana Neelapala
19cdb21cb6
Added backgroundColor property to CupertinoTimePicker and CupertinoDatePicker. #34741 ( #39056 )
2019-08-26 14:47:49 -07:00
Chris Yang
7f5540faac
PlatformViewLink handles focus ( #38643 )
...
In the build of PlatformViewLink, Added a FocusNode wrapping around the surface widget.
The focus node will ask platform view to clear its focus when necessary through [PlatformViewController.clearFocus].
The platform view can notify the framework it wants to gain focus by calling [PlatformViewCreationParams.onFocusChanged]
2019-08-26 12:04:17 -07:00
Hans Muller
35c916d733
Added Scaffold.extendBodyBehindAppBar ( #39156 )
...
* Co-authored-by: Brett Morgan <brettmorgan@google.com>
2019-08-26 11:31:19 -07:00
Greg Spencer
365f577c70
Normalize assert checking of clipBehavior ( #38568 )
...
I noticed that we were pretty inconsistent with the way that we checked the value of clipBehavior in the framework, so I normalized the usages and updated docs where necessary.
This is a breaking change if you used to pass null explicitly to FlatButton, OutlineButton or RaisedButton constructors, expecting to get Clip.none. It will now assert if you do that. Existing implementations that pass null implicitly by not specifying clipBehavior won't need to change their call sites. It always implicitly defaulted to Clip.none before, and it will continue to do that, it's only places where it was explicitly set to null in order to get the implicit default that it will fail.
2019-08-23 14:08:04 -07:00
Yegor
190698d0d2
run web tests in batches; enable foundation tests ( #37268 )
...
* shard tests
* make foundation tests pass
2019-08-23 13:23:48 -07:00
Hans Muller
cf87f68fd0
Correct InheritedTheme.captureAll() for multiple theme ancestors of the same type ( #39089 )
2019-08-23 09:41:03 -07:00
Greg Spencer
055c548902
Fix KeySet<T> (and LogicalKeySet, PhysicalKeySet) hashCode calculation ( #38936 )
...
This fixes the hashCode calculation for KeySet<T> so that it doesn't depend on the insertion order of the keys in the set.
The fix involves switching from Set<T> to HashSet<T> internally, so that the iteration order is stable around the hash values of the inserted keys, and not the insertion order. This matters when hashList is called in KeySet<T>.hashCode to build the hash value of the contents of the internal set.
Fixes #38919
2019-08-23 07:51:35 -07:00
Michael Goderbauer
97df403398
TweenAnimationBuilder for building custom animations without managing an AnimationController ( #38317 )
2019-08-22 20:48:53 -07:00
lisa-liao
ae847d9730
Allow independent theming of Persistent and Modal bottom sheets ( #38650 )
...
BottomSheetThemeData has an additional field modalElevation which makes it possible to set different elevations between persistent and modal bottom sheets.
2019-08-22 13:58:39 -04:00
Shi-Hao Hong
3b7410476f
Add MediaQuery.systemGestureInsets to support Android Q ( #37416 )
...
* Wire Window.systemGestureInsets to MediaQuery.systemGestureInsets
* Add systemGestureInsets property to TestWindow
2019-08-22 00:34:11 -04:00