swipe_up_menu 0.1.3 copy "swipe_up_menu: ^0.1.3" to clipboard
swipe_up_menu: ^0.1.3 copied to clipboard

A side menu who appears when you swipe up or down in side of the screen to full screen apps.

Swipe Up Menu #

Pub Pull Requests are welcome Pull Requests are welcome Codemagic build status

A Flutter package to create a Swipe Menu who appears when slide on the right side of screen.

Showcase

Basic Usage #

SwipeUpMenu(
    body: <Widget>[
        Scaffold(appBar: AppBar(title: Text("Page 1"), centerTitle:  true), backgroundColor: Colors.blue),
        Scaffold(appBar: AppBar(title: Text("Page 2"), centerTitle:  true), backgroundColor: Colors.yellow),
    ],
    items: <SwipeUpMenuItem>[
        SwipeUpMenuItem(title: Text("Menu 1"), icon: Icon(Icons.home, color: Colors.white), backgroundColor: Colors.blue),
        SwipeUpMenuItem(title: Text("Menu 2"), icon: Icon(Icons.mail, color: Colors.white), backgroundColor: Colors.yellow),
    ],
    startIndex: 0,
    onChange: (index){},
    animationDuration: Duration(milliseconds: 500)
)

Options #

Property Type Description Default
required body List The list of body of your App -
required items List The list of items to show in menu -
startIndex Integer The start index of menus 0
onChange Function The function who return a index when it change null
animationDuration Duration The duration of animation Duration(milliseconds:500)
6
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A side menu who appears when you swipe up or down in side of the screen to full screen apps.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on swipe_up_menu