GrxSizedButton constructor

const GrxSizedButton({
  1. Key? key,
  2. required Widget child,
  3. double size = 44.0,
  4. GrxShape shape = GrxShape.circle,
  5. Color backgroundColor = GrxColors.primary,
  6. Color foregroundColor = GrxColors.neutrals,
  7. Color? borderColor,
  8. double borderSize = 1.0,
  9. void onPressed()?,
  10. bool isLoading = false,
  11. bool enabled = true,
  12. EdgeInsetsGeometry? margin,
})

Implementation

const GrxSizedButton({
  super.key,
  required this.child,
  this.size = 44.0,
  this.shape = GrxShape.circle,
  this.backgroundColor = GrxColors.primary,
  this.foregroundColor = GrxColors.neutrals,
  this.borderColor,
  this.borderSize = 1.0,
  this.onPressed,
  this.isLoading = false,
  this.enabled = true,
  this.margin,
});