9054 Commits

Author SHA1 Message Date
Bencze Balázs
a1a5c1496c
Add actionsOverflowAlignment parameter to dialog (#95995) 2022-02-22 16:26:20 -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
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
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
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
Taha Tesser
ccaf51562f
Add custom size constraints parameter to PopupMenu (#97798) 2022-02-14 23:45:18 -08:00
Taha Tesser
513c6cd7a8
CupertinoAlertDialog: Update sample (#98357) 2022-02-14 16:25:20 -08:00
Taha Tesser
7d21dbf5e0
CupertinoActionSheet: Update sample (#98356) 2022-02-14 16:10:08 -08:00
Taha Tesser
19a380ffe7
Add CupertinoSlider example (#93633) 2022-02-14 12:10:13 -08:00
Taha Tesser
7c1baeaea8
Fix fooTheme.of(context); usage docs (#98402) 2022-02-14 09:00:22 -08:00
Ian Hickson
fce2f93b75
Add a BindingBase.debugBindingType() method to enable asserts that want to verify that the binding isn't initialized (#98226) 2022-02-11 14:35:09 -08:00
Michael Goderbauer
61ac285608
[performance] Trace direct calls to inflateWidget (#98277) 2022-02-11 13:30:18 -08:00
chunhtai
d486aa7040
Refactor TextSelectionOverlay (#98153)
* Refactor TextSelectionOverlay

* fix test

* remove print

* fix more tests

* update

* added tests

* fix comments

* fmt

* fix test

* addressing comment

* remove dispose

* remove new line
2022-02-11 13:06:05 -08:00
Michael Goderbauer
8cd540f449
[performance] Process dirty nodes from top to bottom during paint to avoid unnecessary layer tree walks (#98219) 2022-02-11 04:30:21 -08:00
LongCatIsLooong
81464ff642
Reland "[EditableText] honor the "brieflyShowPassword" system setting #97769 " (#98150) 2022-02-11 02:30:14 -08:00
Darren Austin
21a6c06491
Update Material tokens to v0.81. (#98149) 2022-02-10 22:56:17 -08:00
Taha Tesser
21de85057d
Fix NavigationRail Indicator alignment for NavigationRailLabelType.none (#98028) 2022-02-10 22:25:15 -08:00
Jonah Williams
ef803a2bd9
[framework] use platform touchslop on Android (#97971) 2022-02-10 22:20:16 -08:00
LongCatIsLooong
6656356bbf
EditableText does not request focus on autofill (#97846) 2022-02-10 20:30:17 -08:00
Justin McCandless
c42b36f6b4
Windows/Linux keyboard shortcuts at a wordwrap (#96323) 2022-02-10 19:45:16 -08:00
Justin McCandless
33a16f44aa
Shift tap on an unfocused field (#97543) 2022-02-10 16:05:19 -08:00
chunhtai
5f3bee55ad
Allow remove listener on disposed change notifier (#97988) 2022-02-09 11:10:13 -08:00
chunhtai
d522179be3
Unify Text selection API (#98073)
* Unify Text selection API

* fix test

* further simplify

* fix more tests

* styling change
2022-02-09 09:16:07 -08:00
wangying
499e900e39
Fix timer keeps active when resampling disabled in some cases (#97197) 2022-02-09 02:25:06 -08:00
Grant Slender
ae3f99c98a
implemented TapUp within InkResponse and InkWell (#93833)
* implemented TapUp within InkResponse and InkWell

* Update packages/flutter/lib/src/material/ink_well.dart

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Update packages/flutter/lib/src/material/ink_well.dart

Co-authored-by: Viren Khatri <werainkhatri.work@gmail.com>

* Update packages/flutter/lib/src/material/ink_well.dart

Co-authored-by: Viren Khatri <werainkhatri.work@gmail.com>

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
Co-authored-by: Viren Khatri <werainkhatri.work@gmail.com>
2022-02-09 10:48:35 +05:30