OutlineButton constructor

const OutlineButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. IconData? icon,
  5. bool expanded = false,
  6. bool loading = false,
  7. double? width,
  8. double height = 48,
  9. double radius = AppRadius.medium,
  10. Color? color,
  11. Color? borderColor,
  12. double borderWidth = 1.5,
})

Implementation

const OutlineButton({
  super.key,
  required this.label,
  this.onPressed,
  this.icon,
  this.expanded = false,
  this.loading = false,
  this.width,
  this.height = 48,
  this.radius = AppRadius.medium,
  this.color,
  this.borderColor,
  this.borderWidth = 1.5,
});