RehaculPrimaryRoundedRectangleButton constructor

const RehaculPrimaryRoundedRectangleButton(
  1. {Key? key,
  2. required String text,
  3. required VoidCallback onPressed,
  4. bool disabled = false,
  5. bool hasShadow = true,
  6. Widget? leftIcon,
  7. Widget? rightIcon,
  8. double? width,
  9. double? height}
)

Implementation

const RehaculPrimaryRoundedRectangleButton({
  super.key,
  required this.text,
  required this.onPressed,
  this.disabled = false,
  this.hasShadow = true,
  this.leftIcon,
  this.rightIcon,
  this.width,
  this.height,
});