PrettySlideUpButton constructor
const
PrettySlideUpButton({
- Key? key,
- EdgeInsetsGeometry? padding = const EdgeInsets.symmetric(vertical: s12, horizontal: s24),
- required Widget firstChild,
- required Widget secondChild,
- Color bgColor = kBlack,
- double borderRadius = s5,
- Duration duration = duration500,
- Curve curve = Curves.easeInOut,
- required VoidCallback onPressed,
Implementation
const PrettySlideUpButton({
super.key,
this.padding = const EdgeInsets.symmetric(vertical: s12, horizontal: s24),
required this.firstChild,
required this.secondChild,
this.bgColor = kBlack,
this.borderRadius = s5,
this.duration = duration500,
this.curve = Curves.easeInOut,
required this.onPressed,
});