flutter_slide_drawer 1.0.0
flutter_slide_drawer: ^1.0.0 copied to clipboard

It would help you make slide_drawer_scaffold easy with animation :)

flutter_slide_drawer #

A Flutter package, It would help you make has slide effect drawer easy.

Getting Started #

To start using this package, add flutter_slide_drawer dependency to your pubspec.yaml

dependencies:
  flutter_slide_drawer: "<latest_release>"

Documentation #

SliderDrawerWidget #

    SliderDrawerWidget(
        key: drawerKey,
        option: SliderDrawerOption(),
        drawer: CustomDrawer(),
        body: Scaffold(
          appBar: AppBar(),
          body: Container(),
        )
    )
ParametersValueRequiredDocs
keyGlobalKey<SliderDrawerWidgetState>YESRequired to open drawer.
drawerWidgetYESCustom Widget to use drawer
bodyWidgetYESBody Widget
optionSliderDrawerOptionNoYou can set several options.

SliderDrawerOption #

    SliderDrawerOption(
      backgroundImage: Image.asset("assets/sample_background.jpg"),
      backgroundColor: Colors.black,
      sliderEffectType: SliderEffectType.Rounded,
      upDownScaleAmount: 50,
      radiusAmount: 50,
    )
ParametersValueRequiredDocs
backgroundImageImage WidgetNobe covered Background Image in Drawer
backgroundColorColorNobackground Color in Drawer (default Color is blue)
sliderEffectTypeSliderEffectTypeNoSlide push Effect Type ( Rounded , Rectangle)
upDownScaleAmountdoubleNoIf you use SliderEffectType.Runded then you can use this parameters. It make margin Vertical in Scaffold
radiusAmountdoubleNoIf you use SliderEffectType.Runded then you can use this parameters. It make as amount as radius in Scaffold

Screens #

Using Background Image And Rounded Type #

Example App Demo2

Default FlutterSliderWidget #

Example app Demo

4
likes
120
pub points
61%
popularity

It would help you make slide_drawer_scaffold easy with animation :)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_slide_drawer