android - Flutter 多平台 Android/iOS 抽屉式菜单

标签 android ios flutter

如何在 iOS 上实现一个相当于 Flutter 中 Android(Material)抽屉的菜单小部件?

最佳答案

iOS 中没有直接的替代菜单小部件,因为 Apple doesn't recommend drawers at all .

A drawer is a type of interface element that contains options or information related to a specific window. A drawer is hidden by default, and can only be revealed when the parent window is visible on screen. When revealed, typically in response to a button, menu, or action, the drawer slides out from one of side of the parent window. A drawer can’t be moved separately or detached from its parent window.

Avoid using drawers. Drawers are seldom used in modern apps and their use is discouraged. Panels, popovers, sidebars, and split views are preferred for displaying supplementary window content.

快速解决方案

enter image description here

示例

Flutter团队准备了comprehensive example of Android / iOS multiplatform app design .

image description

关于android - Flutter 多平台 Android/iOS 抽屉式菜单,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58117191/

相关文章:

java - Java/Android 中的 EA Async.Init() 错误

高度大于屏幕高度的 flutter 可滚动堆栈

Android PlusOneButton 不初始化

android - 使用 LibGDX 的 Facebook 登录 3.0

javascript - 元素在老一代 iPad 上无法正常显示?

ios - 如何在 iOS 中显示来自 Sqlite 表的不同值?

flutter - Flutter:如何编写if-else语句来调用抽屉?

dart - 如何修复 http 调用中奇怪的 Dart 错误

android - 无法解析 Android 应用程序模块的 Gradle 配置。解决 gradle 构建问题和/或重新同步。?

ios - EXC_BAD_ACCESS 和 MPMusicPlayerController