8194 Commits

Author SHA1 Message Date
Todd Volkert
cb0bda39c0
Add doc links to RawGestureDetector (#81796) 2021-05-03 17:03:44 -07:00
Jonah Williams
fff8ecfb94
[flutter] reject mouse drags by default in scrollables (#81569) 2021-05-03 16:54:02 -07:00
Ian Hickson
279f40d487
Clean up some old and obsolete TODOs of mine (#81631) 2021-05-03 15:19:02 -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
Abhishek Ghaskata
74d403a2d6
Change elevation to double of MergeableMaterial (#81634) 2021-05-03 09:24:02 -07:00
Guilherme Henrique
741bb9d329
Update text_form_field.dart (#81043) 2021-05-01 21:29:03 -07:00
Todd Volkert
a3bcaf226c
Allow widget inspector's _Location.file to be null (#81588)
Fixes https://github.com/flutter/flutter/issues/81587
2021-04-30 21:09:14 -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
Tong Mu
3955ef0d02
Update view.dart (#81373) 2021-04-29 22:54:03 -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
Ian Hickson
0021a08c4d
Always activate DevTools if it's not installed (#81242) 2021-04-28 17:14:02 -07:00
Darren Austin
8071576cc6
Update the docs for ProgressIndicator to remove some unnecessary adaptive descriptions. (#81427) 2021-04-28 15:55:14 -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
Ren You
99f19d05c3
Revert "Improve performance of debugCheckHasDirectionality (#81250)" (#81409)
This reverts commit 437ff210aae48bbe976b1503867d01fab153bb57.
2021-04-28 12:28:40 -07:00
Darren Austin
f4dee5c62e
Fixed ProgressIndicatorTheme.wrap() to just return a new ProgressIndicatorTheme. (#81359) 2021-04-28 12:06:37 -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
Todd Volkert
0379dcd0be
Correct documentation in GestureRecognizerState (#81343) 2021-04-27 18:44:37 -07:00
Ian Hickson
437ff210aa
Improve performance of debugCheckHasDirectionality (#81250) 2021-04-27 15:54:03 -07:00
Ian Hickson
7f17cf458f
Cheaper debug string for widget-provided tickers (#81247) 2021-04-27 15:09:03 -07:00
Ian Hickson
d1f02ae075
Short-circuit _debugCanPerformMutations if debugDoingLayout is false (#81246) 2021-04-27 15:04:03 -07:00
Michael Goderbauer
0cf7beb509
Fix typo to trigger build (#81325) 2021-04-27 12:56:47 -07:00
Angjie Li
cbdd9c4787
Revert "Refactor text editing test APIs (Mark III) (#80003)" (#81316)
This reverts commit 285b475124216c79198ff2d92e673d1dd10280a0.
2021-04-27 11:34:36 -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
Michael Goderbauer
a717e151b9
Enable vm:notify-debugger-on-exception for more use cases enabled by upstream fix (#81221) 2021-04-26 13:10:04 -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
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