SecondaryButton constructor

const SecondaryButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback? onPressed,
  4. IconData? icon,
  5. bool isDisabled = false,
  6. double? width,
})

Implementation

const SecondaryButton({
  super.key,
  required this.text,
  required this.onPressed,
  this.icon,
  this.isDisabled = false,
  this.width,
});