LoaderButton constructor

const LoaderButton({
  1. Key? key,
  2. String? title,
  3. required void onPressed(),
  4. bool loading = false,
  5. Icon? icon,
  6. ButtonStyle? buttonStyle,
})

Implementation

const LoaderButton({
  super.key,
  this.title,
  required this.onPressed,
  this.loading = false,
  this.icon,
  this.buttonStyle,
});