Add missing M2 widgets back to the new Material Components widgets catalog
Page URL
https://docs.flutter.dev/development/ui/widgets/material/
Page source
https://github.com/flutter/website/tree/main/src/development/ui/widgets/material.md
Describe the problem
The newly updated Material Components widgets catalog (https://github.com/flutter/website/pull/8574) might have dropped a few widgets in the material library that were introduced by pervious Material versions. One example is the DataTable widget. This widget is still part of the material library and there's no plan to deprecate or replace it. Dropping the widget from the catalog is likely to make it harder to discover. In fact, the current Material widgets catalog is the second highest referrer to the DataTable widget's API doc:

Expected fix
I propose the following steps to address the issue:
- [ ] Compare M2 and M3 on material.io and identify components M2 introduced but M3 didn't cover
- [ ] Identify related Flutter widgets
- [ ] Select or create widget preview images which fit the style of existing ones
- [ ] Add those widgets to the new Material widgets catalog page in an "Additional components from M2" section
Additional context
Cc: @guidezpl, @esouthren, @HansMuller, @nancyhu2023, @atsansone
Can I work on this?
@ArslanYM Thank you for your interest in helping out. I suggest we wait until the updated Material Components widget catalog is available to the public next week at Google I/O. The main challenge of adding additional widgets to the catalog is to select/create widget preview images that fit the style of existing ones. You can better assess whether this is something you'd like to help once you can see the new images in the catalog.
@ArslanYM, yes, you can definitely work on this!
@sfshaza2 Thankyou, I will get started.
For those widgets/components that have dropped out of spec, I'd recommend just mentioning them with links to documentation in the sentence "You can still check out our legacy Material 2 widgets over at their catalog page." These are the ones I could identify:
-
DataTableand variants - ~
ExpansionPanel~ could be considered part of M3 lists flutter/flutter/issues/127252 -
Stepper