BaseButtonCard constructor

const BaseButtonCard({
  1. Key? key,
  2. String? icon,
  3. required String text,
  4. String? description,
  5. Color? color,
  6. Border? border,
  7. EdgeInsets? padding,
  8. bool isDanger = false,
  9. VoidCallback? onPressed,
})

Implementation

const BaseButtonCard({
  super.key,
  this.icon,
  required this.text,
  this.description,
  this.color,
  this.border,
  this.padding,
  this.isDanger = false,
  this.onPressed,
});