SimpleHiddenDrawer constructor
const
SimpleHiddenDrawer({
- Key? key,
- int? initPositionSelected = 0,
- bool isDraggable = true,
- double slidePercent = 80.0,
- double verticalScalePercent = 80.0,
- double contentCornerRadius = 10.0,
- Curve curveAnimation = Curves.decelerate,
- Widget screenSelectedBuilder(
- int position,
- SimpleHiddenDrawerBloc bloc
- bool enableScaleAnimin = true,
- bool enableCornerAnimin = true,
- TypeOpen typeOpen = TypeOpen.FROM_LEFT,
- 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);