GrxCircleButton constructor

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

Implementation

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