DefaultButtonView.transparent constructor

const DefaultButtonView.transparent({
  1. Key? key,
  2. required VoidCallback? callback,
  3. String? title,
  4. double? borderRadius,
  5. bool isLoading = false,
  6. Widget? customChild,
  7. Color? customTextColor,
})

Implementation

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