Alex Vincent
f546aa7def
Fix buildCounter returns a widget when set to return null. ( #45749 )
...
When buildCounter returns null it no longer produces a widget that takes up space.
2019-12-18 10:45:28 -08:00
Scott Hyndman
ceef460a64
Correct name in DecorationImage error string ( #47260 )
2019-12-18 00:23:02 -08:00
神楽坂花火
0ec73510ec
Add textScaleFactor to SelectableText ( #44682 )
2019-12-17 19:38:01 -08:00
Michael Goderbauer
b7d221227c
Simplify Chip slightly ( #47254 )
2019-12-17 16:23:05 -08:00
LongCatIsLooong
0f8c0da0a9
iOS UITextInput autocorrection prompt ( #45354 )
2019-12-17 16:22:28 -08:00
Dan Field
d4b49ce9fc
Call setEditingState when text changes. ( #47177 )
2019-12-17 14:03:04 -08:00
LongCatIsLooong
a82a399733
remove mediaQuery bottom padding when the tab scaffold has an opaque navbar ( #46106 )
2019-12-16 23:28:02 -08:00
LongCatIsLooong
117dfaf287
Fix sliver geometry assert ( #47027 )
2019-12-16 18:19:23 -08:00
Shi-Hao Hong
7874bca248
Move localization executables to bin folder ( #46251 )
2019-12-16 17:30:57 -08:00
Shi-Hao Hong
7f56a61417
Fix isDense default for DropdownButtonFormField ( #47160 )
2019-12-16 16:40:15 -08:00
Alexandre Ardhuin
aa071efd17
implicit-casts:false in flutter/lib/src/cupertino ( #45502 )
2019-12-16 14:58:03 -08:00
Dan Field
467f3d49ec
remove duplicative checks ( #47026 )
2019-12-16 12:38:02 -08:00
Kate Lovett
b0b8b91b97
RenderProxySliver ( #45942 )
2019-12-16 12:37:57 -08:00
Kate Lovett
9024231030
SliverVisibility ( #45582 )
2019-12-16 12:23:03 -08:00
Yuwen Yan
fba96809f4
Add enableDrag configuration for showModalBottomSheet ( #46685 )
2019-12-16 12:14:24 -08:00
Justin McCandless
c06bf6503a
iOS smart quote/dash configuration ( #44923 )
...
smartDashesType and smartQuotesType params for text fields to control iOS's smart punctuation feature.
2019-12-13 17:42:35 -05:00
Dan Field
1bca434cdd
Check for NaN in sliver constraints, improve error messaging ( #46995 )
2019-12-13 14:39:07 -08:00
Dan Field
82f6d43bf1
Avoid NaN for shrinkwrapping viewports ( #46265 )
2019-12-13 14:36:53 -08:00
liyuqian
6a5ef29a75
More clarifications on mutating Widget's children ( #46725 )
2019-12-13 09:53:01 -08:00
Alexandre Ardhuin
d81d91606a
implicit-casts:false in flutter/lib/src/material ( #45567 )
...
* implicit-casts:false in flutter/lib/src/material
* address review comments
2019-12-13 08:55:12 +01:00
Hans Muller
187c89b69d
Remove accentTextTheme from sliders and chips, tests and docs ( #46801 )
2019-12-12 15:14:01 -08:00
Dan Field
948e2b0101
Avoid exceptions for control flow ( #46897 )
2019-12-12 13:53:01 -08:00
Taufiq Rahman
c5f61ac3e8
Feature: ExpandIcon should use the size parameter ( #45712 )
...
* ExpandIcon should use the size parameter
2019-12-10 15:18:56 -05:00
Shi-Hao Hong
0bec3dc3d2
Add UniqueKey documentation regarding const constructor ( #46647 )
2019-12-10 13:24:58 -05:00
Shi-Hao Hong
ac9fefdfa6
Fix InputDecorator.isDense typo from true -> false ( #46648 )
2019-12-10 13:24:44 -05:00
Sebastian Döll
645c32311e
Set modal bottom sheet barrier color ( #45067 )
2019-12-10 10:07:32 -08:00
Anthony
8a205f8194
Revert "Made the behavior for caching large images modular. ( #46010 )" ( #46629 )
...
This reverts commit 86dd664feffa1dc32d51845f1dbe82c3b15093bf.
2019-12-10 11:44:52 -05:00
Jonah Williams
81aa2710d2
[flutter_tool] add a vmservice API for hot ui requests ( #45649 )
2019-12-09 21:31:34 -08:00
Tong Mu
a4f7a0dfb9
Revert changes to TestPointer; MouseTracker no longer relies on Add events ( #46285 )
...
* Revert test pointer
* Synthesize new state
2019-12-09 15:12:11 -08:00
Tom Robinson
9233b53255
Update SliverPersistentHeader docs ( #46081 )
2019-12-06 14:17:29 -08:00
Tong Mu
ad20d368ff
Fix null event crash in TapGestureRecognizer ( #45943 )
2019-12-05 19:33:01 -08:00
Greg Spencer
bc7ed36db5
Add visualDensity to checkbox, radio, icon button, and chip. ( #46091 )
...
This adds a visualDensity attribute to checkbox, radio, icon button, and chip.
2019-12-05 17:36:42 -08:00
Greg Spencer
e3005e6962
Fixes Focus and FocusScope's assignment of canRequestFocus. ( #46168 )
...
This fixes an issue where lines like this:
focusNode.canRequestFocus = widget.canRequestFocus ?? focusNode.canRequestFocus;
Were causing the canRequestFocus bit to copy the status of the enclosing scope, since canRequestFocus also looks to the enclosing scope to decide if it can focus.
2019-12-05 15:33:05 -08:00
Chris Bracken
fa0c49d775
Dispatch hover events to PlatformViewController ( #46124 )
...
This adds support to PlatformViewLayer for handling hover events. Prior
to this, PlatformViewLayers only supported events forwarded by the
gesture recognizers associated with the PlatformViewRenderBox. Hover
events don't participate in gesture recognition and as such are dropped
in GestureBinding. That said, hover event processing in platform views
is expected for desktop and other platforms with hover event support.
This adds support for passing an optional MouseTrackerAnnotation to
PlatformViewLayer. PlatformViewRenderBox populates this with a mouse
tracker annotation that forwards hover events to
PlatformViewController.dispatchPointerEvent() for handling by users.
2019-12-05 13:31:50 -08:00
gaaclarke
86dd664fef
Made the behavior for caching large images modular. ( #46010 )
...
Introduced LargeImageHandler to ImageCache class.
2019-12-05 12:46:59 -08:00
Greg Spencer
c6fe7bb9e1
Normalizes all of the "See also" blocks in comments. ( #46121 )
...
This normalizes all of the "See also" blocks in comments so that they conform in style.
They all look like this now:
/// See also:
///
/// * [MyFavoriteWidget], because it's cool.
class Foo {}
I removed some useless "See also" blocks, and added commentary to ones that were just "bare" references.
This is my penance for adding so many bullets that are "-" instead of "*". :-)
2019-12-05 12:27:05 -08:00
Tong Mu
f8027a795d
Only schedule callback when there is mouse ( #46113 )
2019-12-05 12:18:03 -08:00
Alexandre Ardhuin
649e188562
implicit-casts:false in flutter/lib/src/painting ( #45621 )
2019-12-05 09:41:49 +01:00
Greg Spencer
f7d1616173
Overridable default platform key bindings ( #45102 )
...
This adds actions and shortcuts arguments to WidgetsApp (and MaterialApp and CupertinoApp) to allow developers to override the default mappings on an application, and to allow for a more complex definition of the default mappings.
I've stopped using SelectAction here, in favor of using ActivateAction for all activations, but haven't removed it, to avoid a breaking change, and to allow a common base class for these types of actions. This is because some platforms use the same mapping (web) for both kinds of activations (both select and activate).
2019-12-04 16:07:01 -08:00
Kate Lovett
9011cece25
Pre-Submit Tryjobs for Flutter Gold ( #44474 )
2019-12-04 15:43:36 -08:00
Brian Egan
3ea8c87ce9
Api Samples and Diagrams for 10 more classes / functions ( #45603 )
...
* Api Samples and Diagrams for the following classes and methods:
- AlertDialog
- SimpleDialog
- SingleChildScrollView
- showDatePicker
- RichText
- InputDecoration
- Divider
- StreamBuilder
- DataTable
- BottomSheet
- showBottomSheet
- showModalBottomSheet
* Update packages/flutter/lib/src/material/divider.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Update packages/flutter/lib/src/widgets/basic.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Update packages/flutter/lib/src/material/data_table.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Update packages/flutter/lib/src/material/bottom_sheet.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Update packages/flutter/lib/src/material/scaffold.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Move animation out of sample
* Remove "widget.size", replace with "60"
2019-12-04 13:27:23 +01:00
Alexandre Ardhuin
a5f9b3b036
implicit-casts:false in flutter/lib/src/rendering ( #45720 )
...
* implicit-casts:false in flutter/lib/src/rendering
* address review comments
2019-12-04 10:27:04 +01:00
Alexandre Ardhuin
166d422b05
implicit-casts:false in flutter/lib/src/widgets ( #45728 )
...
* implicit-casts:false in flutter/lib/src/widgets
* address review comments
* address review comment
2019-12-04 09:43:54 +01:00
Alexandre Ardhuin
4049460d31
implicit-casts:false in flutter/lib/src/semantics ( #45722 )
2019-12-04 08:59:19 +01:00
Alexandre Ardhuin
1c7a1c3873
implicit-casts:false in flutter/lib/src/services ( #45723 )
2019-12-04 07:51:54 +01:00
Sebastian Döll
417db34d35
Set track color in Cupertino Switch and Adaptive Switch ( #45074 )
2019-12-03 20:42:48 -08:00
Greg Spencer
185da9b0af
Add Density API to ThemeData, implement for buttons. ( #43547 )
...
* Add a density attribute to ThemeData
* Simplify tests
* Review changes (Hans)
2019-12-03 19:49:56 -08:00
Michael Goderbauer
1ac17c14fc
Re-land "Add option to delay rendering the first frame ( #45135 )" ( #45941 )
2019-12-03 19:48:01 -08:00
Dan Field
b61dec79c7
Start fixing docs ( #45977 )
2019-12-03 13:59:19 -08:00
Sahand Akbarzadeh
f68cdacdd5
Add clip behaviour to Container ( #44971 )
2019-12-03 10:13:01 -08:00