9483 Commits

Author SHA1 Message Date
xubaolin
d73f7ad49c
Do not crash if the controller and TabBarView are updated at different phases (build and layout) of the same frame. (#104998) 2022-06-06 14:03:08 -07:00
Jonah Williams
febc6a14f5
remove forced compositing from opacity (#105334) 2022-06-06 12:13:07 -07:00
Kenzie Davisson
1b2ee411aa
Sort diagnostics node dependencies so that order is stable (#105319)
* Sort diagnostics node dependencies so that order is stable

* use toDescription

* use toStringShort when possible

* sort InheritedElements
2022-06-06 07:55:09 -07:00
Taha Tesser
d73b6571dd
Remove RenderAligningShiftedBox.mixin (no longer needed) (#105177) 2022-06-05 23:58:09 -07:00
Taha Tesser
d4a9631651
Revert "[DataTable]: Add ability to only select row using checkbox (#105123)" (#105311) 2022-06-03 07:18:07 -07:00
Taha Tesser
5fe78541b3
[DataTable]: Add ability to only select row using checkbox (#105123) 2022-06-03 06:13:07 -07:00
Alberto
032dc5428f
fix: Removed helper method from Scaffold (#99714)
* Update autofill.dart

* fix: removed helper method

Co-authored-by: Pierre-Louis Guidez <plg@google.com>
2022-06-03 10:45:57 +02:00
Pierre-Louis
c4a6ab1626
Revert "Add actionsPadding to dialog theme (#105109)" (#105293)
This reverts commit 5d10cf550ffe271b0e40565b43d818f2a3ebf87b.
2022-06-03 09:38:01 +02:00
Taha Tesser
e02462a44f
CheckedPopupMenuItem: Fix cursor bug and add cursor parameter (#103474) 2022-06-02 23:03:09 -07:00
Joshua Tang
a27fcf1a89
Update app bar theme property docs (#102501) 2022-06-03 07:45:26 +02:00
LongCatIsLooong
d3785152c4
Merge dirty relayout boundaries after RenderObject.invokeLayoutCallback (#105175) 2022-06-02 18:28:10 -07:00
Taha Tesser
87804363e4
Refactor MaterialStateProperty lerp functions (#104507) 2022-06-02 13:46:39 -07:00
Zachary Anderson
d87b0dde05
Revert "Hide text selection toolbar when dragging handles on mobile (#104274)" (#105247)
This reverts commit 4ec4c249ea5d62d6ef06e6d2e6af48c4500decb2.
2022-06-02 12:37:13 -07:00
Markus Aksli
4ec4c249ea
Hide text selection toolbar when dragging handles on mobile (#104274) 2022-06-02 11:18:12 -07:00
Pierre-Louis
15aa3bfda3
turn on curly_braces_in_flow_control_structures for develop-facing code (#105113) 2022-06-02 11:25:40 +02:00
Hans Muller
9cf042ec74
Revert "Added MaterialStatesController, updated InkWell et al. (#103167)" (#105138)
This reverts commit 180566f2e59928912c893cc0e8a12f97e653c206.
2022-06-01 17:19:16 -07:00
Pierre-Louis
5d10cf550f
Add actionsPadding to dialog theme (#105109)
* add actionsPadding to dialog theme and refactor

* fix typo

* remove trailing spaces
2022-06-01 15:52:18 +02:00
Pierre-Louis
51b2c488c7
Fix actions padding for M3 alert dialogs (#105008)
* update docs

* use correct actions padding for dialogs

* remove trailing spaces

* Update dialog_theme.dart

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

Co-authored-by: Taha Tesser <tessertaha@gmail.com>

Co-authored-by: Taha Tesser <tessertaha@gmail.com>
2022-06-01 10:43:16 +02:00
Jason Simmons
116d6579c7
Remove remaining uses of hashValues in the framework (#105046) 2022-05-31 15:48:14 -07:00
Taha Tesser
ee274fde1d
Fix showSearch query text field doesn't show toolbar initially when field is empty. (#105023) 2022-05-31 14:48:10 -07:00
Alexandre Ardhuin
552c50e67c
more const immutable classes (#104988)
* more const immutable classes

* more const constructors in dev/ and examples/
2022-05-31 21:56:24 +02:00
Greg Spencer
16b7348155
Switch debugAssertNotDisposed to be a static (#104772)
This reverts part of the change made in #103456 to expose a debug check for subclasses of ChangeNotifier to avoid code duplication. Instead of making debugAssertNotDisposed a public instance function, it is now a public static function. It makes it harder to call, slightly, but it means that everyone who implemented ChangeNotifier instead of extending it doesn't get broken.
2022-05-31 10:33:46 -07:00
Jonas Uekötter
f9ac22a426
Improve PlatformException#stacktrace docs for Android (#104331) 2022-05-31 09:33:12 -07:00
Taha Tesser
71a9ccbf2c
InheritedModel: Add a complete interactive example and update snippet for null safety (#104174) 2022-05-30 06:13:10 -07:00
Bruno Leroux
c68fd6a31a
Add troubleshooting doc for MediaQueryData.size (#104828) 2022-05-28 23:43:06 -07:00
Justin McCandless
c135cd340d
MacOS transpose keyboard shortcut (#104457)
Implements ctrl-T to transpose characters on Mac and iOS
2022-05-27 16:10:32 -07:00
爱折腾的小竹同学
40e7e9ad8e
fix: assert does not match annotation (#104606) 2022-05-27 15:18:07 -07:00
Markus Aksli
62eebb4922
Hide SelectableRegion text selection toolbar when orientation changes (#104841) 2022-05-27 13:13:13 -07:00
Jonah Williams
8d2978af64
use immutable buffer for loading asset images (#103496) 2022-05-27 12:23:12 -07:00
Kate Lovett
2aa7317296
Revert "Add error message and documentation when a SnackBar is off screen" (#104843) 2022-05-27 11:58:14 -07:00
Justin McCandless
b7a425f196
Right click on selection when unfocused should re-focus (#104666)
Bug fix for focusing a field with right click on existing selection (Mac and iOS)
2022-05-27 09:41:03 -07:00
chunhtai
d09e454889
Fixes a bug when dragging selection handle sends events in wrong coor… (#104739)
* Fixes a bug when dragging selection handle sends events in wrong coordinates system

* remove comments

* addressing comments
2022-05-27 09:29:50 -07:00
Hans Muller
180566f2e5
Added MaterialStatesController, updated InkWell et al. (#103167) 2022-05-27 08:38:42 -07:00
chunhtai
6a88c221d5
SelectableRegion does not merge child semantics nodes (#104659) 2022-05-26 15:40:09 -07:00
Greg Spencer
3e7e01c893
Remove extraneous InheritedWidget (#104676)
When I removed Shortcuts.of and Shortcuts.maybeOf, I forgot to also remove the associated InheritedWidget. This does that.
2022-05-26 15:25:48 -07:00
Justin McCandless
91836d6a62
its => it (#104730)
Just a small grammar fix in the PipelineOwner docs.
2022-05-26 12:59:03 -07:00
Bruno Leroux
bc53e6202e
Add error message and documentation when a SnackBar is off screen (#102073) 2022-05-26 05:15:07 -07:00
Nils Reichardt
5764b5dd67
Fix typo "technicallv" in editable_text.dart (#104701) 2022-05-26 13:22:47 +02:00
Pierre-Louis
2aa348b940
Use curly_braces_in_flow_control_structures for widgets (#104609)
* Use `curly_braces_in_flow_control_structures` for `widgets`

* fix comments

* fix comments
2022-05-26 09:48:09 +02:00
Pierre-Louis
332c22f391
Update links to material library docs (#104392)
* Update links to `material` library docs

* outsmart bot heuristics
2022-05-26 08:56:35 +02:00
gaaclarke
20a9f1d8d7
Added option for Platform Channel statistics and Timeline events (#104531) 2022-05-25 18:43:11 -07:00
Taha Tesser
a9c71d7e23
[Reland]: Fix DropdownButton menu clip (#104251) 2022-05-25 14:58:09 -07:00
Greg Spencer
406d86b4ba
PlatformMenuBar changes to bring it into line with upcoming MenuBar implementation (#104565)
When I was doing the MenuBar implementation, I made some changes to the PlatformMenuBar to allow it to understand shortcuts a little more, and to deprecate the body parameter rename it to child to match most other widgets.

These are those changes, separated out because they are separable, and I'm trying to make the MenuBar PR smaller.
2022-05-25 14:48:28 -07:00
xubaolin
6efdf0ae7b
fix a _DraggableScrollableSheetScrollPosition update bug (#103328) 2022-05-25 14:48:10 -07:00
Jonas Uekötter
9f856ac182
Improve PlatformMenu MenuItem documentation (#104321) 2022-05-25 14:43:12 -07:00
Kate Lovett
fe04647651
Include forceElevated for scrolledUnder in new SliverAppBar variants (#104536) 2022-05-25 14:23:13 -07:00
Tomasz Gucio
2e7cea6dfe
Dispose ValueNotifier instances in RenderEditable (#104591) 2022-05-25 13:13:11 -07:00
Tomasz Gucio
aa1c43bbde
Dispose ValueNotifier in EditableTextState (#104590) 2022-05-25 13:08:11 -07:00
Markus Aksli
b05741cbad
Hide the text selection toolbar on mobile when orientation changes (#103512) 2022-05-25 13:03:16 -07:00
xubaolin
5a9196737d
[Slider]The initial value of discrete slider should respect the discrete values (#103966)
Fixes #103965
2022-05-25 12:55:13 -07:00