10741 Commits

Author SHA1 Message Date
xubaolin
839bd6317f
Do not crash if dispatch the mouse events before the tooltip overlay detached (#97268) 2022-02-25 03:21:19 -08:00
Jonah Williams
e25670a2a0
[framework] Provide gesture settings to regular gesture detectors (#99081) 2022-02-24 20:41:12 -08:00
xubaolin
2ce43fac7b
Fix a Tabs crash when change the TabControllers (#98242) 2022-02-24 20:06:25 -08:00
Viren Khatri
281f1421df
adds trackRadius to ScrollbarPainter and RawScrollbar (#98018) 2022-02-24 19:26:23 -08:00
Simon
f0d444721b
Correct font weight for Cupertino tab label (#90109) 2022-02-24 19:21:18 -08:00
Justin McCandless
8d5903f746
Pasting collapses the selection and puts it after the pasted content (#98679)
Desktop selection behavior improvement.
2022-02-24 12:06:55 -08:00
Tomasz Gucio
533a5dde96
Call bringIntoView after RenderEditable updates on paste (#98604) 2022-02-23 16:49:22 -08:00
xubaolin
2ad0ac0ef2
Draggable can be accepted when the data is null (#97355) 2022-02-23 15:19:22 -08:00
Tomasz Gucio
9e7cc970ea
Use int for PlaceholderSpan.placeholderCodeUnit (#98971) 2022-02-23 14:59:06 -08:00
chunhtai
c74a646b7b
Clean up ClipboardStatusNotifier (#98951)
* Clean up ClipboardStatusNotifier

* fix

* fix test

* more refactaaaaagit add .
2022-02-23 10:02:20 -08:00
chunhtai
1178c8e9d3
Revert "Remove redundant hide handles API from TextSelectionDelegate (#98944)" (#99008)
This reverts commit 94f6fd6ea8934407452853405835b92fec0d7ad9.
2022-02-23 09:48:53 -08:00
nt4f04uNd
85d4b28065
Correct the MediaQuery test name (#98984) 2022-02-23 08:49:14 -08:00
Viren Khatri
922bbfeed7
Adds onReorderStart and onReorderEnd arguments to ReorderableList. (#96049) 2022-02-23 04:24:21 -08:00
Kate Lovett
cddd5524d4
Remove deprecated DayPicker and MonthPicker (#98543) 2022-02-22 18:19:15 -08:00
Darren Austin
3f52d5800a
Fixed some issues and clarified the docs for ReorderableListView. (#98954) 2022-02-22 17:07:48 -08:00
Bencze Balázs
a1a5c1496c
Add actionsOverflowAlignment parameter to dialog (#95995) 2022-02-22 16:26:20 -08:00
Emmanuel Garcia
f4fc2c87f7
Test that render object changed its visual appearance after texture is create (#98622) 2022-02-22 14:53:17 -08:00
chunhtai
94f6fd6ea8
Remove redundant hide handles API from TextSelectionDelegate (#98944) 2022-02-22 14:44:18 -08:00
Tomasz Gucio
e4351ff053
Enable use_if_null_to_convert_nulls_to_bools lint (#98753) 2022-02-22 14:39:20 -08:00
Michael Goderbauer
79d435d018
Reland "Add more tests to slider to avoid future breakages (#98772)" (#98936) 2022-02-22 13:24:17 -08:00
chunhtai
fd41d419b4
Fix getOffsetForCaret to return correct value if contains widget span (#98542) 2022-02-22 12:29:22 -08:00
Kirolous Nashaat
9dc9cf57f2
Added optional parameter keyboardType to showDatePicker (#93439) 2022-02-22 11:45:06 -08:00
Anurag Roy
0277a46b80
Update comments for chip tests (#97476) 2022-02-22 11:14:21 -08:00
Tomasz Gucio
cd2413c2c3
Avoid unnecessary lambdas in SelectionOverlay.showHandles() (#98912) 2022-02-22 09:49:16 -08:00
Justin McCandless
3b05d80622
Spacebar and enter in EditableText work with Inkwells (#98469)
Fixes a bug especially with text fields in a ListTile where space and enter didn't work.
2022-02-22 09:11:08 -08:00
Zachary Anderson
9aed29873a
Revert "Add more tests to slider to avoid future breakages (#98772)" (#98783)
This reverts commit baa2803fe1da00b18c47797abc31db230a64f5df.
2022-02-18 20:43:35 -08:00
Michael Goderbauer
baa2803fe1
Add more tests to slider to avoid future breakages (#98772) 2022-02-18 16:59:23 -08:00
Kate Lovett
f9921ebcda
Remove deprecated VelocityTracker constructor (#98541) 2022-02-18 13:49:17 -08:00
Taha Tesser
14a406f87a
Show RefreshIndicator on top when scroll's axis direction is up (matching native behaviour) (#93779) 2022-02-18 09:34:18 -08:00
Taha Tesser
c504797c42
Remove clipBehavior == Clip.none conditions (#98503) 2022-02-18 01:29:16 -08:00
Kate Lovett
466b1e8d79
Remove deprecated UpdateLiveRegionEvent (#98615) 2022-02-17 16:24:19 -08:00
Kate Lovett
38dae1bfc0
Update stretching overscroll clip behavior (#97678) 2022-02-17 18:15:50 -06:00
Kate Lovett
8d25ddde19
Remove deprecated RectangularSliderTrackShape.disabledThumbGapWidth (#98613) 2022-02-16 17:50:13 -08:00
Michael Goderbauer
ac1fc234ea
Update example code and docs for InteractiveViewer.builder (#98623) 2022-02-16 17:25:17 -08:00
Mateus Felipe C. C. Pinto
7055becf39
Remove unused parameter and consequently unused variable (#98428) 2022-02-16 14:42:29 -08:00
Taha Tesser
58ad6e1bef
Dismiss Modal Barrier on handleTapCancel (#98191) 2022-02-16 14:05:15 -08:00
Markus Aksli
0acfb216ac
Revert "Dismiss text selection toolbar with ESC (#98511)" (#98600)
This reverts commit 9407700aa4a843885d7acca324773f85e3766743.
2022-02-16 21:42:36 +02:00
Markus Aksli
919d20511c
Dismiss Autocomplete with ESC (#97790) 2022-02-16 10:25:08 -08:00
Markus Aksli
9407700aa4
Dismiss text selection toolbar with ESC (#98511) 2022-02-16 08:30:23 -08:00
chunhtai
286c9751d3
Add explanation to ChangeNotifier (#98295) 2022-02-15 18:15:18 -08:00
Renzo Olivares
8386344962
Hide toolbar when selection is out of view (#98152)
* Hide toolbar when selection is out of view

* properly dispose of toolbar visibility listener

* Add test

* rename toolbarvisibility

* Make visibility for toolbar nullable

* Properly dispose of toolbar visibility listener

* Merge visibility methods into one

* properly dispose of start selection view listener

* Add some docs

* remove unnecessary null check

* more docs

* Update dispose order

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-02-15 13:48:13 -08:00
Michael Goderbauer
a454da0220
Revert "[performance] Process dirty nodes from top to bottom during paint to avoid unnecessary layer tree walks" (#98520) 2022-02-15 13:30:13 -08:00
Hans Muller
db4c98fcb0
Added a NavgationBar example with nested Navigators (#98440) 2022-02-15 13:28:47 -08:00
Taha Tesser
fd4b1e86e8
CupertinoSlidingSegmentedControl: Add an interactive example (#98156) 2022-02-15 10:05:11 -08:00
Taha Tesser
7943ae5502
CupertinoSegmentedControl: Add an interactive example (#98154) 2022-02-15 09:30:19 -08:00
Taha Tesser
dfd42444e9
Update CupertinoTextField example (#93738) 2022-02-15 09:10:20 -08:00
Taha Tesser
60f039cb1c
Add ExpansionTileTheme (#98405) 2022-02-15 08:44:33 -08:00
Ben Konyi
2a2f973120
Update flutter_tools to look for new VM service message (#97683)
* Update flutter_tools to look for new VM service message

The Dart SDK will soon move away from the current Observatory message:

"Observatory listening on ..."

To a new message that no longer references Observatory:

"Dart VM Service listening on ..."

This change updates all tests with mocks to check for the new message
and also adds support for the new message in ProtocolDiscovery.

See https://github.com/dart-lang/sdk/issues/46756

* Fix some parsing locations

* Fix analysis failures

* Update message

* Remove extra comment

* Update message

* Add globals prefix
2022-02-15 07:33:57 -08:00
Taha Tesser
ee0bbf4789
Add CupertinoPicker interactive example (#93622) 2022-02-15 06:25:20 -08:00
Darren Austin
ca2a751661
Migrate NavigationBar to M3 tokens. (#98285) 2022-02-15 00:40:20 -08:00