PrettySlideUpButton constructor

const PrettySlideUpButton({
  1. Key? key,
  2. EdgeInsetsGeometry? padding = const EdgeInsets.symmetric(vertical: s12, horizontal: s24),
  3. required Widget firstChild,
  4. required Widget secondChild,
  5. Color bgColor = kBlack,
  6. double borderRadius = s5,
  7. Duration duration = duration500,
  8. Curve curve = Curves.easeInOut,
  9. 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,
});