10917 Commits

Author SHA1 Message Date
Jason Simmons
21e9bc6bd3
Do not copy the old selection when applying localization to dates in InputDatePickerFormField (#107268)
Fixes https://github.com/flutter/flutter/issues/107155
2022-07-19 00:24:13 -07:00
Tong Mu
7e96d89aea
PointerEvent asserts device kinds (#105987) 2022-07-19 04:43:04 +00:00
Alexandre Ardhuin
ccd33631e3
enable combinators_ordering (#107847) 2022-07-18 22:04:07 +00:00
Markus Aksli
da3b2a2fbd
Fix Scaffold setState during locked framework due to open drawer (#107173) 2022-07-18 11:50:06 +00:00
LongCatIsLooong
0d32ca2138
Allow key reparenting between slots in SlottedMultiChildRenderObjectWidgetMixin (#106977) 2022-07-15 19:08:05 +00:00
LongCatIsLooong
d72853940f
Remove exclamation marks (#107683) 2022-07-15 18:52:06 +00:00
Taha Tesser
1bc787ee71
Fix dragging while the text selection toolbar is up doesn't hide toolbar (#106878)
Fixes a fidelity bug on desktop involving the selection toolbar not hiding when it should have.
2022-07-15 09:37:39 -07:00
Taha Tesser
bbec650b64
DropdownButton: Fix hint alignment when selectedItemBuilder is non-null. (#106731) 2022-07-15 09:56:07 +00:00
Taha Tesser
cf342254cc
Add an interactive example for Overlay (#107531) 2022-07-15 09:44:05 +00:00
Taha Tesser
c422d280ab
Add an example for AppBar.notificationPredicate (#106018) 2022-07-15 09:40:06 +00:00
Nguyen Phuc Loi
0cf9d41fc9
[flutter_driver] support send text input action (#106561)
* Support receive input action

* Fix error syntax

* Fix compile

* Add documents

* Add unit-test

* Update import

* Fixed unit-test and lint

* Add authors for me

* Fixed lint

* Fixed lint

* Add example

* Fixed lint

* Fix gen docs

* Revert code

* Remove flutter_dev

* Update packages/flutter_driver/lib/src/driver/driver.dart

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

* Update packages/flutter_driver/lib/src/common/action.dart

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

* Update packages/flutter_driver/lib/src/common/action.dart

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

* Rename ReceiveAction to SendTextInputAction

* Rename DriverTextInputAction to TextInputAction and fix unit-test

* Reorder import

* Remove space

* Reorder import

* Update text_input.dart

* Update flutter_driver_test.dart

* Update comment to normal comment after dart doc

* Update example

* Update AUTHORS

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

* Fix analyze

* Add type dart for example

* Add unit-test to check the same entries

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2022-07-14 17:21:11 -07:00
Kate Lovett
2987d9e10a
Fix scrollbar margins (#107172) 2022-07-14 20:56:08 +00:00
Tong Mu
d87faf921d
[Keyboard, iOS] Generate iOS's special key mapping (#106909) 2022-07-13 22:40:06 +00:00
Christopher Fujino
b26346f2cc
fix null safe check in RenderIndexedStack (#107581) 2022-07-13 22:36:05 +00:00
Jonah Williams
a02cd540f6
Revert "[framework] SliverDecoration" (#107561) 2022-07-13 17:38:07 +00:00
Taha Tesser
c251856c89
Update ListTile docs for color animation issues and add example (#106955) 2022-07-13 08:09:07 +00:00
Taha Tesser
c7ce24d345
Update ListTile and ListTile based widget docs for Material usage (#107104) 2022-07-13 08:07:05 +00:00
Taha Tesser
a2c2d1ad85
[PopupMenu]: Add menu ClipBehavior (#107466) 2022-07-12 23:21:05 +00:00
Renzo Olivares
329afbe9d8
updateEditingValueWithDeltas should fail loudly when TextRange is invalid (#107426)
* Make deltas fail loudly

* analyzer fixes

* empty

* updates

* Analyzer fixes

* Make it more obvious what kind of TextRange is failing and where

* update tests

* Add tests for concrete TextEditinDelta apply method

* trailing spaces

* address nits

* fix analyzer

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-07-12 15:59:59 -07:00
Youssef Attia
cfff88b26a
Remerge "Fixed AnimatedSwitcher chain produced duplicates" after fixing issues with g3
This reverts commit 1d2fa285a4704678f3f813ad8c6464749292de04.
2022-07-12 13:42:04 -07:00
hangyu
b753476004
Add a snapAnimationDuration param in DraggableScrollableSheet (#107396)
* Add a snapAnimationDuration param in DraggableScrollableSheet

* snapAnimationDuration.inMilliseconds > 0

* Update draggable_scrollable_sheet.dart
2022-07-12 23:06:21 +08:00
Taha Tesser
66cd09dd82
Update PopupRoute docs and add an example (#106948) 2022-07-12 08:59:05 +00:00
Jonah Williams
881b27e836
[framework] SliverDecoration (#107269) 2022-07-12 02:23:05 +00:00
Michael Goderbauer
58e5750470
Persistent BottomSheet are not dismissible via a11y (#107435) 2022-07-12 01:21:04 +00:00
Darren Austin
50cde354c4
Expose the duration and curve for theme animation in MaterialApp. (#107383) 2022-07-11 15:11:37 -07:00
Casey Hillers
2a58bb7580
Revert "InputDecorator: Switch hint to Opacity instead of AnimatedOpacity" (#107406) 2022-07-11 16:23:07 +00:00
Bruno Leroux
082ad11422
Fix TabController throws build scheduled during frame error (#105442) 2022-07-11 02:40:07 -07:00
Darren Austin
d4061c19f4
Refactor gen_defaults to support multiple generated code blocks in the same file independently. (#107278) 2022-07-10 17:17:09 -07:00
Dan Field
3f173357c6
Reland"Make RenderSliverGrid more accurately report overflow" (#107329) 2022-07-08 22:07:06 +00:00
Bruno Leroux
f614c59702
Fix showDialog throws cryptic message when context is not active (#107323) 2022-07-08 14:40:08 -07:00
LongCatIsLooong
c58dca2a45
Reland "Disable cursor opacity animation on macOS, make iOS cursor animation discrete (#104335)" (#106893) 2022-07-08 20:29:05 +00:00
Pierre-Louis
1704d4f5f9
Add new widget of the week videos (#107301) 2022-07-08 19:09:07 +00:00
Youssef Attia
1d2fa285a4
Revert "Fixed AnimatedSwitcher chain produced duplicates (#106962)" (#107318)
This reverts commit 0d3cc92d0b90cddf129eb57496b5386b54aeec10.
2022-07-08 11:15:12 -07:00
Taha Tesser
750516a173
Fix ListTile theme shape in a drawer (#106343) 2022-07-08 11:06:20 -07:00
Markus Aksli
255b71f192
Switch hint text to Opacity instead of AnimatedOpacity (#107156) 2022-07-08 10:46:33 -07:00
Dan Field
37de4960af
Remove listeners from pending images when clearing cache (#107276) 2022-07-08 07:52:05 +00:00
Youssef Attia
0d3cc92d0b
Fixed AnimatedSwitcher chain produced duplicates (#106962)
* Fixed AnimatedSwitcher chain produced duplicates

* Fixed issue with global keys being copied

* trailing whitespace

* removed unused dependencies

* Fixed dependency loop
2022-07-07 16:41:38 -07:00
Jonah Williams
15739345da
[framework] don't composite with a scale of 0.0 (#106982) 2022-07-07 23:30:05 +00:00
Daniel Chevalier
76f056ac6f
Improve pub root directory interface (#106567)
The pubRoot directory interface is being changed to promote adding and removing directories
2022-07-07 15:29:39 -04:00
Flutter GitHub Bot
b748d1fb1a
Roll pub packages (#107185) 2022-07-07 17:46:07 +00:00
Callum Moffat
c32ea2171b
PointerSignalKind forwards-compatibility (#106906) 2022-07-07 10:38:07 -07:00
Kohei Seino
41405ff0f3
Add RelativeRect.fromDirectional factory (#107059)
Add `fromDirectional` factory to `RelativeRect` for when an app needs to consider both TextDirection.ltr and TextDirection.rtl.

```
RelativeRect.fromDirectional(
    textDirection: textDirection,
    start: 10.0,
    top: 20.0,
    end: 30.0,
    bottom: 40.0,
);
```

Addresses https://github.com/flutter/flutter/issues/107058.
2022-07-07 10:18:06 -07:00
Kate Lovett
017fc6c907
Fix RawScrollbar colors (#107177) 2022-07-07 03:38:05 +00:00
Kate Lovett
1c4339974d
Fix disallowIndicator for RefreshIndicator (#106831) 2022-07-06 17:59:09 -07:00
LongCatIsLooong
0a06644c38
Clarify that inputFormatters don't run on programmatical changes (#106904) 2022-07-06 16:19:09 -07:00
Goddchen
084e25298d
Fix typo in painting.TextStyle.merge docs (#106511) 2022-07-06 14:42:15 -07:00
Bruno Leroux
1877efed5e
Add documentation references to BottomSheetThemeData (#107149)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-07-06 17:33:52 -04:00
Darren Austin
f396e289d5
Migrate Chips to Material 3 (#107166) 2022-07-06 13:32:44 -07:00
Taha Tesser
680a7bc8e8
SelectableText.rich: Fix TextSpan.style not merged into default text style (#101911)
Properly merges the TextSpan.style of SelectableText.rich.
2022-07-06 13:20:51 -07:00
Qun Cheng
16bbef188f
Migrate IconButton to Material 3 - Part 2 (#106437) 2022-07-06 18:14:07 +00:00