-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Use case
Build iPadOS apps which look native and up-to-date regarding the new UI concept of sidebars on iPad apps
Proposal
iPadOS 14 introduces the UI concept a toggle sidebar which is prominently used in a variety of Apple‘s own apps and surely in lots of updated 3rd party apps to make them feel native. In SwiftUI, there is already an implementation for it:
SwiftUI will automatically take care of showing a button to slide in your bar from the side of the screen, and also collapse it with your primary view if you’re in a compact size class. If you’re presenting a list inside your sidebar, it’s a good idea to use the .listStyle() to give it the system-standard theme for sidebars, like this: .... (Source: Hacking with Swift - How to add a sidebar for iPadOS
It would be fantastic to have the sidebar as a „native“ flutter widget in Cupertino.