SmfStateButton constructor

const SmfStateButton({
  1. Key? key,
  2. required String text,
  3. bool loading = false,
  4. VoidCallback? onPressed,
})

Implementation

const SmfStateButton({
  Key? key,
  required this.text,
  this.loading = false,
  this.onPressed,
}) : super(key: key);