SoftUiButton constructor

const SoftUiButton({
  1. required String text,
  2. SoftUiButtonTypes type = SoftUiButtonTypes.normal,
  3. bool isLoading = false,
  4. IconData? prefixIcon,
  5. IconData? suffixIcon,
  6. void onPressed()?,
  7. Key? key,
})

Implementation

const SoftUiButton({
  required this.text,
  this.type = SoftUiButtonTypes.normal,
  this.isLoading = false,
  this.prefixIcon,
  this.suffixIcon,
  this.onPressed,
  super.key,
});