cedvdb
feec13a168
Remove duplicated key in _IconButtonM3 ( #105577 )
2022-06-10 11:38:10 -07:00
Justin McCandless
213bf37a4d
Text handle drag swap on Apple platforms ( #105069 )
...
Dragging the base text selection handle on Apple makes it the extent.
2022-06-10 09:20:51 -07:00
Hans Muller
d8783ff4c2
Reland Added MaterialStatesController, updated InkWell et al. #103167 ( #105656 )
2022-06-10 08:12:49 -07:00
Alexandre Ardhuin
1b65ba5380
exports public API types from scheduler/*.dart ( #105737 )
2022-06-09 16:03:07 -07:00
Kate Lovett
784520bd04
Updating PrimaryScrollController for Desktop ( #102099 )
2022-06-09 16:49:45 -05:00
Alexandre Ardhuin
0cdb3bf582
Export public API types from foundation/*.dart library. ( #105648 )
2022-06-09 11:53:11 -07:00
Bruno Leroux
0b13f4b4b5
Fix BoxShadow toString() ( #105696 )
2022-06-09 08:13:12 -07:00
Taha Tesser
f4604fe02b
Fix SliverReorderableList item dispose ( #105097 )
2022-06-09 01:13:10 -07:00
Bruno Leroux
4dec56b2c9
Fix PageView throws Null check error ( #104405 )
2022-06-08 14:48:09 -07:00
Alexandre Ardhuin
56c4e3cdd8
add some exports of public API in foundation/serialization.dart ( #104231 )
2022-06-08 13:33:12 -07:00
Benjamin Lempereur
c150c5a03d
TimePicker : Ability to define dialOnly / inputOnly modes ( #104491 )
2022-06-08 13:18:14 -07:00
Taha Tesser
d72daf602d
CupertinoSlider: Add clickable cursor for web (#99557 )
2022-06-08 04:03:05 -07:00
Pierre-Louis
8f57f87af5
Improve useMaterial3 documentation ( #104815 )
...
* Improve `useMaterial3` documentation
* reverse styles and components
* tweak language around support
* Update theme_data.dart
* remove trailing space
* Update packages/flutter/lib/src/material/theme_data.dart
Co-authored-by: Darren Austin <darren@darrenaustin.org>
* add missing spec links
* remove spec links from useMaterial3
* move defaults section up, rejig things
* spaces no longer trailing
* spaces no longer trailing (2)
Co-authored-by: Darren Austin <darren@darrenaustin.org>
2022-06-08 11:50:19 +02:00
Darren Austin
1ed50b219b
Updated tokens to v0.99. ( #105545 )
2022-06-07 16:12:28 -07:00
xubaolin
0a88d820fd
fix a _ScaffoldLayout delegate update bug ( #104954 )
2022-06-07 15:08:09 -07:00
xubaolin
da19a88ca2
Improve the SliverChildBuilderDelegate docs for folk to troubleshoot. ( #103183 )
2022-06-07 13:53:07 -07:00
Qun Cheng
66a84d1fed
Migrate IconButton to Material 3 - Part 1 ( #105176 )
...
* Added standard IconButton for M3 with new ButtonStyle field
* Added IconButton examples for standard, filled, filled_tonal, and outlined types
Co-authored-by: Qun Cheng <quncheng@google.com>
2022-06-07 12:39:22 -07:00
Taha Tesser
1718519188
Fix drawers are draggable on desktop platforms ( #100476 )
2022-06-07 12:08:07 -07:00
takashi kasai
4b4c876fb9
Text selection located wrong position when selecting multiple lines over max lines ( #102747 )
...
Fix for text selection toolbar position in cases with overflowing text.
2022-06-07 10:13:33 -07:00
Taha Tesser
78a0111c20
Fix ButtonStyleButton ink well shape. ( #100226 )
2022-06-07 08:23:40 -07:00
Zachary Anderson
ac7e29a40f
Revert "remove forced compositing from opacity" ( #105489 )
2022-06-07 00:43:05 -07:00
Jonah Williams
0d3d8d4bfd
[framework] respect debugDisableShadows in slider thumbs ( #105467 )
2022-06-06 16:38:07 -07:00
Nils Reichardt
64db621980
Remove new keyword in a few files ( #104438 )
2022-06-06 16:08:06 -07:00
Jiun Kim
a939d9d7a0
[Stepper] Add Alternative Label on horizontal-type Stepper ( #91496 )
...
* Add label on Step
* Add _buildLabelText, _labelStyle
* Update _buildHorizontal with _buildLabelText
* Fix Redundant Center widgets
* Fix Unnecessary Column Widget
* Fix Unnecessary import
* Fix Unnecessary Container
* Set label style to bodyText1 to match title style
* Update test for Alternative Label
* Fix code format
* Update label docstring
* Update to test textstyle of label
* Update to Test `TextStyles` of Label
* Fix typo in inline comments
* Update for Stepper type to `horizontal`
* Restore `_buildVerticalHeader`
* Update docstring, `Only [StepperType.horizontal]`
* Update for Readability
* Add `_isLabel` method
* Update `Horizontal height` with `_isLabel`
* Update to make `_buildIcon` centered
* Fix for `curly_braces_in_flow_control_structures`
2022-06-06 14:43:10 -07:00
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