swipe_up_menu 0.1.3

Flutter Android iOS web

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 #

PropertyTypeDescriptionDefault
required bodyListThe list of body of your App-
required itemsListThe list of items to show in menu-
startIndexIntegerThe start index of menus0
onChangeFunctionThe function who return a index when it changenull
animationDurationDurationThe duration of animationDuration(milliseconds:500)
5
likes
100
pub points
51%
popularity

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

Documentation

API reference

Uploader

rod90ad@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on swipe_up_menu