4761 Commits

Author SHA1 Message Date
Jonah Williams
fff8ecfb94
[flutter] reject mouse drags by default in scrollables (#81569) 2021-05-03 16:54:02 -07:00
Hans Muller
89d26d8d87
Fixed some trivial formatting issues (#81699) 2021-05-03 13:11:22 -07:00
Chinmoy
9f898ffef7
Added arrowHeadColor property to PaginatedDataTable (#81393) 2021-05-03 12:31:48 -07:00
Viren Khatri
f9905fc43c
prototypeItem added to ReorderableList and ReorderableListView (#81604)
prototypeItem added to ReorderableList and ReorderableListView along with tests
2021-05-03 11:43:18 -07:00
Ludwik Trammer
336ae2de79
Add "onTap" callback to PopupMenuItem (#81686) 2021-05-03 10:06:53 -07:00
Guilherme Henrique
741bb9d329
Update text_form_field.dart (#81043) 2021-05-01 21:29:03 -07:00
Todd Volkert
0cc58fd046
Fix assert in RenderObject.getTransformTo() (#81590)
The assert was never hitting because it was first hitting a
null cast error in the `renderer.parent!` line in the for
loop.
2021-04-30 21:08:54 -07:00
Tong Mu
9956a35a5a
Hardware keyboard: codegen (#73440)
Rewrites tools/gen_keycodes, the script that generates key mappings across the framework and the engine.
2021-04-30 21:06:03 -07:00
Viren Khatri
b6d13a6122
Adding itemExtent to ReorderableList and ReorderableListView (#81372) 2021-04-30 17:19:04 -07:00
Tong Mu
d97f41caed
Revert "MouseRegion enter/exit event can be triggered with button pressed (#81148)" (#81557)
This reverts commit ace61f01efe3d4e53db1845627028d901e7af3e9.
2021-04-30 12:35:21 -07:00
Hans Muller
8c4538618f
Deprecate ThemeData accentColor, accentColorBright, accentIconTheme, accentTextTheme (#81336) 2021-04-30 08:24:31 -07:00
xubaolin
ace61f01ef
MouseRegion enter/exit event can be triggered with button pressed (#81148) 2021-04-29 22:44:03 -07:00
Kate Lovett
ff15d04f21
Add support for pointer scrolling to trigger floats & snaps (#76145) 2021-04-29 22:29:03 -07:00
Alexandre Ardhuin
7f31861914
add missing trailing commas (#81406) 2021-04-28 22:54:49 +02:00
Todd Volkert
91de4bd3e3
Add onLongPressDown, onLongPressCancel (#81260)
This adds support for GestureDetector.onLongPressDown and
GestureDetector.onLongPressCancel, allowing callers to register
interest in the initial pointer contact that might turn into
a long-press (and the associated cancel event if the gesture
loses).
2021-04-28 12:51:27 -07:00
Darren Austin
f4dee5c62e
Fixed ProgressIndicatorTheme.wrap() to just return a new ProgressIndicatorTheme. (#81359) 2021-04-28 12:06:37 -07:00
Alexandre Ardhuin
1a3af88ced
add missing trailing commas (#81362) 2021-04-28 10:54:05 -07:00
Todd Volkert
4e7c052b63
Fix bug in LongPressGestureRecognizer (#81340)
It was incorrectly resetting state when it received a
non-allowed pointer but had already accepted a gesture.

https://github.com/flutter/flutter/issues/81339
2021-04-28 09:11:13 -07:00
leo
8ddfc80c7f
fix resampling leads to Hard to tap (#81022)
* fix PointerUpEvent conversion PointerMoveEvent needs to use the default buttons value.(#73286)

* feat PointerMoveEvent conversion adds test cases

* fix event conversion may modify the original buttons value.

* Update packages/flutter/lib/src/gestures/resampler.dart

Co-authored-by: David Reveman <dreveman@gmail.com>
2021-04-28 11:34:28 -04:00
Alexandre Ardhuin
fa19b3d3bd
add missing trailing commas (#81329) 2021-04-27 17:09:03 -07:00
Ian Hickson
7f17cf458f
Cheaper debug string for widget-provided tickers (#81247) 2021-04-27 15:09:03 -07:00
Alexandre Ardhuin
80dd6a406a
add missing trailing commas (#81080) 2021-04-27 09:59:03 -07:00
Hans Muller
3df0f931fa
Support notched BottomAppbar when Scaffold.bottomNavigationBar == null (#81228) 2021-04-27 08:30:41 -07:00
Hans Muller
3533321b1a
Use ColorScheme.primary (not secondary), ExpansionTile expanded color (#81241) 2021-04-27 08:30:08 -07:00
xster
ff2dde2c7f
Reland double gzip wrapping NOTICES to reduce on-disk installed space (#80897) 2021-04-26 22:35:45 -07:00
Justin McCandless
a8e41f8206
Fix InteractiveViewer.builder for custom RenderBox parents (#80166) 2021-04-26 21:09:02 -07:00
Jim Graham
6738462744
Add BackdropFilter blend mode (#80129) 2021-04-26 18:04:02 -07:00
Tong Mu
b8833afcc9
Migrate LogicalKeySet to SingleActivator (#80756)
Applies #78522 to existing code, by replacing all occurrences of LogicalKeySet to SingleActivator or ShortcutActivator.
2021-04-26 14:54:00 -07:00
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
Abhishek Ghaskata
6a89c02bc7
navigator cleans up its pop transitions. (#80639) 2021-04-26 10:44:05 -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
Chinmoy
321aa452a5
Modified TabBar.preferredSize to remove hardcoded (#80792) 2021-04-23 15:09:02 -07:00
Alexandre Ardhuin
59fc92168a
add missing trailing commas (#81065) 2021-04-23 22:47:40 +02:00
Alexandre Ardhuin
c78c913343
add missing trailing commas (#81042) 2021-04-23 21:00:42 +02:00
xubaolin
c880680c4e
add a test for popupMenuButton (#80930) 2021-04-23 10:54:04 -07:00
Abhishek Ghaskata
a94e63a61b
Add tab 2 callback (#80805) 2021-04-23 10:49:03 -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
Alexandre Ardhuin
d36d5ae35d
add missing trailing commas (#80995) 2021-04-22 19:39:02 -07:00
Alexandre Ardhuin
c5a3ee7f31
add trailing commas in flutter/test/{foundation,gestures} (#80926) 2021-04-22 22:33:59 +02:00
Justin Hutchins
dca07d2a8a
Enable previously skipped Editable test (#80761) 2021-04-22 13:19: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
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