Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

AndrewBastin/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

Releases

No releases published

Packages

No packages published

Languages