PressableButton constructor

const PressableButton(
  1. {Key? key,
  2. required Widget body,
  3. VoidCallback? onPressed,
  4. required double height,
  5. required double width,
  6. required Color shadowColor,
  7. required Color? buttonColor,
  8. required bool isEnable}
)

Implementation

const PressableButton(
    {super.key,
    required this.body,
    this.onPressed,
    required this.height,
    required this.width,
    required this.shadowColor,
    required this.buttonColor,
    required this.isEnable});