8306 Commits

Author SHA1 Message Date
Angjie Li
b74df388e1
Revert "Migrate to ChannelBuffers.push (#76288)" (#81226)
This reverts commit c26ed03c8a77810136cc087ae60048ace062842d.
2021-04-26 12:57:17 -07:00
Darren Austin
e2ddeb0427
Added a ProgressIndicatorTheme. (#81075) 2021-04-26 12:27:37 -07:00
Michael Goderbauer
9f2b93ae40
Dispose thumbPainter in Switch to avoid crash (#81089) 2021-04-26 11:49:03 -07:00
creativecreatorormaybenot
5e2f8631f8
Fix Hit Tests in RenderEditable when Scrolled (#81040) 2021-04-26 10:54:04 -07:00
xubaolin
cff3211f7f
fix a NestedScrollView's ScrollPosition access bug (#80573) 2021-04-26 10:39:04 -07:00
Ren You
e170ea521c
Revert "[RenderEditable] Dont paint caret when selection is invalid (#79607)" (#81076)
This reverts commit 0f8148ec16325493b1b48a21367b839167f940b9.
2021-04-23 16:00:11 -07:00
Ian Hickson
c26ed03c8a
Migrate to ChannelBuffers.push (#76288)
* Migrate to ChannelBuffers.push

* Move TestDefaultBinaryMessenger to its own file

* Apply deprecations and fix usages
2021-04-23 15:39:34 -07:00
Michael Goderbauer
39554279b0
Make compareTo more robust in semantics.dart (#81083) 2021-04-23 15:39:03 -07:00
Phil Quitslund
9b0fd4230c
sort directives (#81060) 2021-04-23 15:11:51 -07:00
Chinmoy
321aa452a5
Modified TabBar.preferredSize to remove hardcoded (#80792) 2021-04-23 15:09:02 -07:00
Kate Lovett
f0d35600f6
Revert "Revert "Fix FlexibleSpaceBar Opacity when AppBar.toolbarHeight > ktoolbarHeight (#80453)" (#80545)" (#80589) 2021-04-23 10:44:04 -07:00
Shi-Hao Hong
07849778eb
[State Restoration] Restorable TimePickerDialog widget, RestorableTimeOfDay (#80566) 2021-04-23 10:39:03 -07:00
Dan Field
08ca8b01bc
Fix error resolution when a completer is already set (#81014) 2021-04-22 19:49:03 -07:00
Greg Spencer
07b3e10aa4
Add a ThreePointCubic spline that combines two cubic curves (#80836)
This adds a "three point" cubic curve that combines two cubic curves into one curve, where the control points are all in the same coordinate system. It's called "three point" because it incorporates a middle point that the curve runs through, and that point is in addition to the existing implicit (0,0) and (1,1) points that a Curve already has.

I also added an example of this curve, which is just a more emphasized version of the easeInOutCubic.
2021-04-22 10:47:18 -07:00
Ren You
7750482308
Revert "Replace some dynamic to Object? type (#80772)" (#80965)
This reverts commit 12a2e682b47e16818cc7cd9ca5fe8ea09fd38992.
2021-04-22 10:19:21 -07:00
Craig Labenz
35bffd20d4
Improved handling of AppBar's action Icon sizes (#78886) 2021-04-22 09:54:02 -07:00
Pedro Massango
6c0c6d30a2
Expose padEnds on PageView widget (#78558) 2021-04-22 09:49:03 -07:00
Jason Simmons
a21a22a666
Convert AnimatedSize to a StatefulWidget (#80554) 2021-04-21 18:44:03 -07:00
Tomasz Gucio
24f0d28562
Adjust selection drag start position for viewport offset changes (#80047) 2021-04-21 18:34:03 -07:00
Ian Hickson
285b475124
Refactor text editing test APIs (Mark III) (#80003) 2021-04-21 18:29:04 -07:00
Shi-Hao Hong
fe57037ad7
Revert "Update PopupMenuButton widget (#80420)" (#80831) 2021-04-21 13:54:02 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations (#80817) 2021-04-21 13:49:03 -07:00
Darren Austin
746ce203d2
Added the ability to constrain the size of bottom sheets. (#80527) 2021-04-21 13:34:04 -07:00
Ian Hickson
27cc8c06b2
Move ExpansionPanelList to Canvas.drawShadow (#80134) 2021-04-21 13:29:06 -07:00
xubaolin
12a2e682b4
Replace some dynamic to Object? type (#80772) 2021-04-21 02:19:01 -07:00
Darren Austin
07a6b8f071
Added the ability to constrain the size of input decorators (#80754) 2021-04-21 02:09:02 -07:00
Hans Muller
b5d521f9c7
VisualDensity should not reduce ButtonStyleButton horizontal padding (#79680) 2021-04-20 17:49:02 -07:00
Chinmoy
430c57eb3f
Modified DataRow to be disabled when onSelectChanged is not set (#80184)
This change prevents DataRow from being enabled when onSelectChanged is null.
2021-04-20 11:10:48 -07:00
gaaclarke
50ea741b4c
Speed up WriteBuffer by removing some runtime checks in release builds and removing a loop (#80588) 2021-04-19 23:19:05 -07:00
creativecreatorormaybenot
6e1a0ed28b
Correct typo in addWithPaintTransform docs (#80657) 2021-04-19 20:29:02 -07:00
Chinmoy
dc40e23893
Added enableFeedback property to DropdownButton (#69880) 2021-04-19 14:59:40 -07:00
xubaolin
c6e9d4115c
Update PopupMenuButton widget (#80420) 2021-04-19 14:54:05 -07:00
Mateus Felipe C. C. Pinto
6bdc380b3d
Add prototypeItem property to ListView (#79752) 2021-04-19 14:49:05 -07:00
Ludwik Trammer
bccacfed36
Fix problem with right-clicking on a right-to-left selection (#80186) 2021-04-18 09:19:04 -07:00
LongCatIsLooong
0f8148ec16
[RenderEditable] Dont paint caret when selection is invalid (#79607) 2021-04-18 09:14:02 -07:00
Amine Dakhli
aa9f6a2a05
replace dynamic by Object/Object? in router.dart (#80476) 2021-04-16 17:24:04 -07:00
xubaolin
aa7ab10822
BorderRadiusTween.lerp supports null begin/end values (#79860) 2021-04-16 17:24:02 -07:00
Kate Lovett
a0f7694db2
Add dart fix for DragAnchor deprecation (#80587) 2021-04-16 14:24:02 -07:00
Mateus Felipe C. C. Pinto
7cc3f84294
Fix samples of ExactAssetImage (#79721) 2021-04-16 11:04:03 -07:00
Kate Lovett
f789acae41
Revert "Fix FlexibleSpaceBar Opacity when AppBar.toolbarHeight > ktoolbarHeight (#80453)" (#80545) 2021-04-15 17:14:02 -07:00
Viren Manojkumar Khatri
2bc7939a9c
Add disable argument in DropdownMenuItem (#76968)
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
Adds a disable argument in DropdownMenuItem widget and added tests.
Design Doc: docs.google.com/document/d/13W6PupVZUt6TenoE3NaTP9OCYsKBIYg9YgdurKe1XKs
2021-04-15 14:48:55 -07:00
Michael Goderbauer
2a8dba4af6
Treat some exceptions as unhandled when a debugger is attached (#78649) 2021-04-15 10:49:02 -07:00
Tong Mu
eb73516739
Shortcut activator (#78522)
This PR introduced a new class, ShortcutActivator, and refactored the the definition and lookup system of shortcuts, in order to solve a few issues of the previous algorithm.
2021-04-15 01:42:49 -07:00
xubaolin
97fd3ce932
fix a BackButtonListener bug (#80355) 2021-04-14 21:59:02 -07:00
Dan Field
e7b7ebc066
Shake widget inspector from non-debug builds (#80157) 2021-04-14 21:54:03 -07:00
Hans Muller
cd4fe85bfa
Added support for AppBarTheme.toolbarHeight (#80467) 2021-04-14 17:01:08 -07:00
Hans Muller
2f1d034087
Updated the OutlinedButton class API doc (#80454) 2021-04-14 17:00:20 -07:00
Kate Lovett
a745fc5870
Fix FlexibleSpaceBar Opacity when AppBar.toolbarHeight > ktoolbarHeight (#80453) 2021-04-14 16:59:03 -07:00
Greg Spencer
6b06943c32
Handle null primary focus when receiving key events (#80302)
This allows the key handling code in the shortcut manager to function when there is a null primaryFocus. The primary focus can be null only in some special circumstances (e.g. when an app hasn't set any focus at all), but that shouldn't cause a crash.
2021-04-14 16:52:27 -07:00
Shi-Hao Hong
3eeadc28f3
[State Restoration] Restorable FormField and TextFormField (#78835)
* Restorable FormField and TextFormField
2021-04-15 07:49:57 +08:00