Migration guide

CupertinoAlertDialog

Code before migration:

CupertinoDialog

child:

myWidget

);

Code after migration:

CupertinoAlertDialog

content:

myWidget

);

CupertinoPopupSurface

Code before migration:

CupertinoDialog

child:

myWidget

);

Code after migration:

CupertinoPopupSurface

child:

myWidget

);

References

API documentation:

CupertinoAlertDialog

CupertinoPopupSurface

Relevant issues:

Deprecate CupertinoDialog class

Relevant PRs: