YustProgressButton constructor

YustProgressButton({
  1. Key? key,
  2. Widget? child,
  3. required Future<void> onPressed(),
  4. Color? color,
  5. Color spinnerColor = Colors.white,
  6. bool inProgress = false,
})

Implementation

YustProgressButton({
  Key? key,
  this.child,
  required this.onPressed,
  this.color,
  this.spinnerColor = Colors.white,
  this.inProgress = false,
}) : super(key: key);