AnimatedDrawerContent constructor

const AnimatedDrawerContent({
  1. Key? key,
  2. required AnimatedDrawerController controller,
  3. required Widget child,
  4. bool isDraggable = true,
  5. required double slidePercent,
  6. required double verticalScalePercent,
  7. required double contentCornerRadius,
  8. bool withPaddingTop = false,
  9. bool withShadow = true,
  10. bool enableScaleAnimation = true,
  11. bool enableCornerAnimation = true,
  12. TypeOpen typeOpen = TypeOpen.FROM_LEFT,
  13. List<BoxShadow>? boxShadow,
})

Implementation

const AnimatedDrawerContent({
  Key? key,
  required this.controller,
  required this.child,
  this.isDraggable = true,
  required this.slidePercent,
  required this.verticalScalePercent,
  required this.contentCornerRadius,
  this.withPaddingTop = false,
  this.withShadow = true,
  this.enableScaleAnimation = true,
  this.enableCornerAnimation = true,
  this.typeOpen = TypeOpen.FROM_LEFT,
  this.boxShadow,
}) : super(key: key);