SILPrimaryButton constructor

const SILPrimaryButton({
  1. Key? buttonKey,
  2. void onPressed()?,
  3. Function? onLongPress,
  4. String? text,
  5. Color? buttonColor,
  6. Color? borderColor,
  7. Color? textColor,
  8. Widget? customChild,
  9. double? customRadius,
  10. EdgeInsets? customPadding,
  11. double? customElevation,
})

Implementation

const SILPrimaryButton({
  this.buttonKey,
  this.onPressed,
  this.onLongPress,
  this.text,
  this.buttonColor,
  this.borderColor,
  this.textColor,
  this.customChild,
  this.customRadius,
  this.customPadding,
  this.customElevation,
});