SliderDrawer constructor

const SliderDrawer({
  1. Key? key,
  2. required Widget slider,
  3. required Widget child,
  4. bool isDraggable = true,
  5. int animationDuration = 400,
  6. double sliderOpenSize = 265,
  7. Color splashColor = const Color(0xffffff),
  8. double sliderCloseSize = 0,
  9. SlideDirection slideDirection = SlideDirection.LEFT_TO_RIGHT,
  10. SliderBoxShadow? sliderBoxShadow,
  11. Widget? appBar = const SliderAppBar(),
  12. bool isCupertino = false,
})

Implementation

const SliderDrawer(
    {Key? key,
    required this.slider,
    required this.child,
    this.isDraggable = true,
    this.animationDuration = 400,
    this.sliderOpenSize = 265,
    this.splashColor = const Color(0xffffff),
    this.sliderCloseSize = 0,
    this.slideDirection = SlideDirection.LEFT_TO_RIGHT,
    this.sliderBoxShadow,
    this.appBar = const SliderAppBar(),
    this.isCupertino = false})
    : super(key: key);