Search packages, repositories and app categories

GitHub repositorysudar-life/flutter_slide_drawer

flutter_slide_drawer

It would help you make has slide effect drawer easy

flutter_slide_drawer project cover
Stars
3
Forks
4
Last push (UTC)
Jun 21, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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(),
        )
    )
Parameters Value Required Docs
key GlobalKey<SliderDrawerWidgetState> YES Required to open drawer.
drawer Widget YES Custom Widget to use drawer
body Widget YES Body Widget
option SliderDrawerOption No You can set several options.

SliderDrawerOption
    SliderDrawerOption(
      backgroundImage: Image.asset("assets/sample_background.jpg"),
      backgroundColor: Colors.black,
      sliderEffectType: SliderEffectType.Rounded,
      upDownScaleAmount: 50,
      radiusAmount: 50,
      direction: SliderDrawerDirection.LTR,
    )
Parameters Value Required Docs
backgroundImage Image Widget No be covered Background Image in Drawer
backgroundColor Color No background Color in Drawer (default Color is blue)
sliderEffectType SliderEffectType No Slide push Effect Type ( Rounded , Rectangle)
upDownScaleAmount double No If you use SliderEffectType.Runded then you can use this parameters. It make margin Vertical in Scaffold
radiusAmount double No If you use SliderEffectType.Runded then you can use this parameters. It make as amount as radius in Scaffold
direction SliderDrawerDirection No Drawer direction option, default is SliderDrawerDirection.LTR

Screens

Using Background Image And Rounded Type

Example App Demo2

Default FlutterSliderWidget

Example app Demo

Sungduck Kim GitHub avatar
GitHub author

Sungduck Kim ↗

개발을 즐기는 사람이 되고 싶은 개발자.

애쓰지마JejuOfficial website ↗
LanguagesDartSwiftKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗