Skip to content

yumi0629/SlideDrawer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_slide_drawer

A slide menu widget like QQ.

The drawer can open from left,right,top or bottom. You can use slideDirection: SlideDirection.top, to control the direction. Use _slideKey.currentState.openOrClose();to open or close drawer freely.

Usage:

SlideStack(
      child: SlideContainer(
        key: _slideKey,
        child: Container(
         /// widget mian.
        ),
        slideDirection: SlideDirection.top,
        onSlide: onSlide,
        drawerSize: maxSlideDistance,
      ),
      drawer: Container(
        /// widget drawer.
      ),
    );

from left
from left

from left

from top
from top

About

A slide menu widget like QQ.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages