DefaultButtonView.border constructor

const DefaultButtonView.border({
  1. Key? key,
  2. required VoidCallback? callback,
  3. String? title,
  4. double? borderRadius,
  5. bool isLoading = false,
  6. Widget? customChild,
  7. bool isError = false,
  8. Color? customTextColor,
  9. Color? customBackgroundColor,
  10. Color? borderColor,
  11. double? borderWidth,
})

Implementation

const DefaultButtonView.border({
  super.key,
  required this.callback,
  this.title,
  this.borderRadius,
  this.isLoading = false,
  this.customChild,
  this.isError = false,
  this.customTextColor,
  this.customBackgroundColor,
  this.borderColor,
  this.borderWidth,
}) : type = ButtonType.border;