PillButton constructor

const PillButton({
  1. Key? key,
  2. required String text,
  3. Widget? leading,
  4. GestureTapCallback? onTap,
  5. bool isEnabled = true,
  6. bool isLoading = false,
})

Implementation

const PillButton({
  super.key,
  required this.text,
  this.leading,
  this.onTap,
  this.isEnabled = true,
  this.isLoading = false,
});