diff --git a/_config.yml b/_config.yml index c67277f93b..9888fbc5ef 100644 --- a/_config.yml +++ b/_config.yml @@ -19,6 +19,7 @@ repo: plugins: https://github.com/flutter/plugins gallery: https://github.com/flutter/gallery engine: https://github.com/flutter/engine + uxr: https://github.com/flutter/uxr dart: api: https://api.dart.dev sdk: diff --git a/src/assets/images/docs/platform-adaptations/cupertino-alert.png b/src/assets/images/docs/platform-adaptations/cupertino-alert.png new file mode 100644 index 0000000000..cffd155fbc Binary files /dev/null and b/src/assets/images/docs/platform-adaptations/cupertino-alert.png differ diff --git a/src/assets/images/docs/platform-adaptations/m3-alert.png b/src/assets/images/docs/platform-adaptations/m3-alert.png new file mode 100644 index 0000000000..a9dd39ed9d Binary files /dev/null and b/src/assets/images/docs/platform-adaptations/m3-alert.png differ diff --git a/src/resources/platform-adaptations.md b/src/resources/platform-adaptations.md index 35c29cfcc9..941766cf42 100644 --- a/src/resources/platform-adaptations.md +++ b/src/resources/platform-adaptations.md @@ -28,6 +28,12 @@ For an example of an app using different information architecture structures on Android and iOS but sharing the same content code, see the [platform_design code samples][]. +{{site.alert.info}} +Preliminary guides addressing case 2 +are being added to the UI components section. +You can request additional guides by commenting on [issue #8427][]. +{{site.alert.end}} + ## Page navigation Flutter provides the navigation patterns seen on Android @@ -548,6 +554,85 @@ double tap and shows the selection toolbar. +## UI components + +This section includes preliminary recommendations on how to adapt +Material widgets to deliver a natural and compelling experience on iOS. +Your feedback is welcomed on [issue #8427][]. + +### Alert dialog + +Since Android 12, the default UI of alert dialogs +(also known as a "basic dialog") follows the design guidelines +defined in [Material 3][m3-dialog] (M3). +On iOS, an equivalent component called “alert” is defined in Apple’s +[Human Interface Guidelines][hig-alert] (HIG). + +