SideMenu
SideMenu copied to clipboard
SideMenu is a simple Android navigation drawer implementation for SwiftUI
- When click the button left menu panel closed then open new screen. - When user back button pressed back to Home Screen.
Client apps can now either (a) supply their own menu icons, or (b) entirely use their own icons and actions (through use of the `..navigationBarItems` modifier). I refactored the code...
struct HomeView: View { @Environment(\.sideMenuLeftPanelKey) var sideMenuLeftPanel var body: some View { SideMenu(leftMenu: LeftSideMenuView(), centerView: HomeContentView()) } } struct HomeContentView : View { @State private var selection = 0 @Environment(\.sideMenuLeftPanelKey)...
As we talked about "Currently the app does not support adding custom images to the left and right sidebar buttons, if you require this feature post it here i will...