CarbonButton constructor

const CarbonButton({
  1. Key? key,
  2. required void onTap(),
  3. bool isLoading = false,
  4. required String label,
  5. Color? color,
  6. IconData? icon,
  7. bool isExpanded = false,
})

Implementation

const CarbonButton({
  super.key,
  required this.onTap,
  this.isLoading = false,
  required this.label,
  this.color,
  this.icon,
  this.isExpanded = false,
});