Skip to content

DJKStyles/flutter_sliding_nav

 
 

Repository files navigation

flutter_sliding_nav

pub package


flutter_sliding_nav provides you with the SlidingRoot widget which takes a slideable front widget which is rendered over a back widget, this can be used to make unique intuitive gesture interfaces

Links

Pub Package Example Code

Usage

new SlidingRoot(
    back: new Container(
        decoration: new BoxDecoration(color: Colors.white)
    ),

    front: new Container(
        decoration: new BoxDecoration(color: Colors.black)
    )
)

This renders a black colored screen which you can swipe from left edge to the right to reveal a white colored back widget

Example

GIF


Example Code

made with ❤️ by andrew bastin

About

An attempt at porting Sliding Root Nav (https://github.com/yarolegovich/SlidingRootNav) to Flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%