CustomButton constructor

const CustomButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. bool isLoading = false,
  5. bool isOutlined = false,
  6. IconData? icon,
  7. double? width,
})

Implementation

const CustomButton({
  super.key,
  required this.label,
  this.onPressed,
  this.isLoading = false,
  this.isOutlined = false,
  this.icon,
  this.width,
});