SimpleHiddenDrawer constructor

const SimpleHiddenDrawer({
  1. Key? key,
  2. int? initPositionSelected = 0,
  3. bool isDraggable = true,
  4. double slidePercent = 80.0,
  5. double verticalScalePercent = 80.0,
  6. double contentCornerRadius = 10.0,
  7. Curve curveAnimation = Curves.decelerate,
  8. Widget screenSelectedBuilder(
    1. int position,
    2. SimpleHiddenDrawerBloc bloc
    )?,
  9. Widget? menu,
  10. bool enableScaleAnimin = true,
  11. bool enableCornerAnimin = true,
  12. TypeOpen typeOpen = TypeOpen.FROM_LEFT,
  13. Widget? title,
})

Implementation

const SimpleHiddenDrawer({
  Key? key,
  this.initPositionSelected = 0,
  this.isDraggable = true,
  this.slidePercent = 80.0,
  this.verticalScalePercent = 80.0,
  this.contentCornerRadius = 10.0,
  this.curveAnimation = Curves.decelerate,
  this.screenSelectedBuilder,
  this.menu,
  this.enableScaleAnimin = true,
  this.enableCornerAnimin = true,
  this.typeOpen = TypeOpen.FROM_LEFT,
  this.title,
})  : assert(screenSelectedBuilder != null),
      assert(menu != null),
      super(key: key);