Add .adaptive constructor for Dialogs #102811
Copy link
Copy link
Closed
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: cupertino_uicupertino_ui package in flutter/packagescupertino_ui package in flutter/packagesp: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packages
Description
This requires some investigation first on feasibility / desireability.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: cupertino_uicupertino_ui package in flutter/packagescupertino_ui package in flutter/packagesp: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packages
Activity
[-]Dialogs[/-][+]Add `.adaptive` constructor for `Dialogs`[/+]mono0926 commentedon May 26, 2022
A package for the same purpose has already been released and is so popular now
rydmike commentedon Oct 3, 2022
Any day I can add
.adaptiveto yet another Flutter SDK widget is a good day. Despite existing packages and my own internal version of this, I am for this and think it is a very desirable feature and hope to see it implemented 💙dshukertjr commentedon Oct 3, 2022
Couldn't agree more with @rydmike!
vbuberen commentedon Oct 5, 2022
Yes, this is what is currently used by lots of people, but having an option to call .adaptive() (for example, like we can for CirculatProgressIndicator) is much better and straightforward.
Adaptive alert dialog (#124336)
github-actions commentedon May 2, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.