Qun Cheng
625d96a1c6
Revert "Set IconButton.visualDensity
default to VisualDensity.standard
( #109349 )" ( #109421 )
...
This reverts commit 3070baf17581b50b6b9327fd2b682a6742db04e0.
2022-08-11 15:29:19 -07:00
Qun Cheng
3070baf175
Set IconButton.visualDensity
default to VisualDensity.standard
( #109349 )
...
* Set IconButton's visualDensity to standard
Co-authored-by: Qun Cheng <quncheng@google.com>
2022-08-11 10:59:51 -07:00
Ian Hickson
9b2668a451
Minor fix compendium ( #107874 )
2022-08-11 02:33:07 +00:00
Ian Hickson
7ded3d91da
API documentation cleanup ( #108500 )
2022-08-10 22:03:20 +00:00
Bruno Leroux
8faccb8a82
Reland: "Add example and troubleshooting comment for showSnackBar
" ( #105195 )
2022-08-09 22:06:05 +00:00
xubaolin
c4df6b6d09
[SelectionOverlay]Move the debug statement to the scope of the assertion. ( #108508 )
2022-08-02 04:37:04 +00:00
Greg Spencer
f5e4d2b427
Replace FocusTrap with TapRegionSurface ( #107262 )
2022-07-29 16:00:07 +00:00
Taha Tesser
76df7368b5
Update Chips examples and rename files ( #108538 )
2022-07-29 07:17:06 +00:00
Greg Spencer
07de84f014
Add StarBorder and StarBorder.polygon, with example. ( #108489 )
2022-07-28 00:01:05 +00:00
Bryan Oltman
e3d08fb6d3
Hide the debug banner in the PopupMenuButton example ( #108324 )
...
* Hide the debug banner in the PopupMenuButton example
* Add test to verify that debug banner is not shown
2022-07-26 10:43:35 -04:00
Tong Mu
4056d3ffde
Explain the "patching" protocol in KeyMessageManager.keyMessageHandler
and add an example ( #105280 )
2022-07-26 05:42:05 +00:00
hangyu
e74b9b5bef
Migrate InputDecorator to Material 3 ( #107943 )
...
* Support material 3 in inputDecorator
* Format polish
* format polish
* update input_decorator_test
* revert pub
* style update
* style polish
* default before base
* resolve comments
* Update text_field.2.dart
* move text styles into M2 theme
* add error style
* fix typo
* resolve comments
* fix g3 test
2022-07-26 01:35:38 +08:00
Marcel Čampa
0c40945a67
Implement CupertinoListSection
and CupertinoListTile
( #78732 )
2022-07-19 18:46:30 -05: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
Taha Tesser
c251856c89
Update ListTile
docs for color animation issues and add example ( #106955 )
2022-07-13 08:09:07 +00:00
Taha Tesser
66cd09dd82
Update PopupRoute
docs and add an example ( #106948 )
2022-07-12 08:59:05 +00:00
Qun Cheng
16bbef188f
Migrate IconButton
to Material 3 - Part 2 ( #106437 )
2022-07-06 18:14:07 +00:00
Hari07
46c4fc1164
Animated fractionally sized box ( #106795 )
2022-07-01 00:50:05 +00:00
Youssef Attia
28d271ecfc
Updated positional parameter ordering for IndexedStack example ( #106687 )
2022-06-27 13:40:24 -07:00
Kate Lovett
9f4b9bfd49
Apply PrimaryScrollController updates to SingleChildScrollView ( #106430 )
2022-06-23 17:27:09 +00:00
Aman Verma
3022db2bf3
docs: Add more potential use case for Bottom Navigation Bar ( #99644 )
2022-06-23 17:17:06 +00:00
Darren Austin
2532584bf3
Update parameters to the styleFrom
button methods. ( #105291 )
...
* Update parameters to the `styleFrom` button methods.
* Updated the Flutter fix data to point to this PR.
* Updated handling of background color to better maintain backwards compatibility with previous API.
2022-06-21 19:08:22 -07:00
Youssef Attia
082560313b
Added an example for IndexedStack widget ( #105318 )
...
* Added an example for IndexedStack
* Added tests for the IndexedStack example
* Fixed type issue for onSubmitted callback functions
* Fixed documentation and moved files to their appropriate places
* Fixed documentation and moved files to their appropriate places
* Moved test files to their appropriate places
* Moved test files to their appropriate places
* Fixed file path in documentation
* Remove trailing space
* Formatting changes
* Remove extra line
* Further formatting changes
* Further formatting changes
* fix comma and inline
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
* Formatting
* indentation and formatting
* Formatting
* Formatting
* Formatting
* Removed duplicate chevron
* better wording on documentation
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
* Added testing for state preservation
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2022-06-13 16:38:37 -07:00
Hans Muller
d8783ff4c2
Reland Added MaterialStatesController, updated InkWell et al. #103167 ( #105656 )
2022-06-10 08:12:49 -07:00
Kate Lovett
784520bd04
Updating PrimaryScrollController for Desktop ( #102099 )
2022-06-09 16:49:45 -05: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
Hans Muller
9cf042ec74
Revert "Added MaterialStatesController, updated InkWell et al. ( #103167 )" ( #105138 )
...
This reverts commit 180566f2e59928912c893cc0e8a12f97e653c206.
2022-06-01 17:19:16 -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
Taha Tesser
71a9ccbf2c
InheritedModel
: Add a complete interactive example and update snippet for null safety (#104174 )
2022-05-30 06:13:10 -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
Hans Muller
180566f2e5
Added MaterialStatesController, updated InkWell et al. ( #103167 )
2022-05-27 08:38:42 -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
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
Taha Tesser
97452d1a10
Switch
: Add an interactive example (#103045 )
...
* `Switch`: Add an interactive examples
* Update docs
* Update doc
2022-05-25 10:40:31 +02:00
Bruno Leroux
1e0a1a2661
Add an example and update GestureDetector
documentation ( #102360 )
2022-05-24 16:38:09 -07:00
chunhtai
efb9368573
Supports global selection for all devices ( #95226 )
...
* Support global selection
* addressing comments
* add new test
* Addressing review comments
* update
* addressing comments
* addressing comments
* Addressing comments
* fix build
2022-05-24 13:53:55 -07:00
Taha Tesser
5739bf4fab
RefreshIndicator
: Add notificationPredicate
example (#103894 )
2022-05-24 04:58:06 -07:00
Darren Austin
b08b88ce6c
Add support for Material 3 medium and large top app bars. ( #103962 )
...
* Add support for M3 AppBar 'Medium' and 'Large' types.
* Updates from review feedback.
* Updated from review feedback.
2022-05-20 14:02:25 -07:00
Darren Austin
17e2fce1cf
Add const MaterialStatePropertyAll
class. ( #104127 )
2022-05-19 09:35:33 -07:00
Taha Tesser
3f5bd7d89e
Add Material 3 AppBar
example ( #102823 )
2022-05-19 00:13:09 -07:00
Michael Goderbauer
2cbad4b3ae
Final chapter: migrate api doc samples to super-parameters ( #104007 )
2022-05-17 15:35:07 -07:00
Bryan Oltman
89f755c2df
Replace references to LinearProgressIndicator in CircularProgressIndicator example ( #103349 )
...
* Replace references to LinearProgressIndicator in CircularProgressIndicator example
* Add test
* fix copyright header
2022-05-09 16:04:02 -04:00
Taha Tesser
92a59caa7f
CupertinoTabScaffold
/CupertinoTabController
: Add interactive examples (#103196 )
...
* `CupertinoTabScaffold`/`CupertinoTabController`: Add interactive examples
* fix class name in the test
* Kick tests
2022-05-09 11:16:32 +02:00
Taha Tesser
803f9959d8
Update Cupertino examples and add missing tests ( #103128 )
2022-05-07 00:29:10 -07:00
Taha Tesser
9489b64cbb
DropdownButton
: Update selectedItemBuilder
example to show case item alignment and update DropdownButton examples (#102748 )
2022-05-06 00:14:08 -07:00
Taha Tesser
cd6b2a3543
Improve Hero
examples ( #103095 )
2022-05-05 23:39:10 -07:00
Taha Tesser
d80f3e3921
Cupertino examples improvements and clean up ( #103044 )
2022-05-05 08:22:53 +02:00
Taha Tesser
27fee486ef
CupertinoSwitch
: Add an interactive example (#103043 )
...
Update
2022-05-05 07:59:55 +02:00
Taha Tesser
3ed0bbed5a
CupertinoActivityIndicator
: Add an interactive example (#103040 )
2022-05-05 07:59:29 +02:00