GrxSizedButton constructor
const
GrxSizedButton({
- Key? key,
- required Widget child,
- double size = 44.0,
- GrxShape shape = GrxShape.circle,
- Color backgroundColor = GrxColors.primary,
- Color foregroundColor = GrxColors.neutrals,
- Color? borderColor,
- double borderSize = 1.0,
- void onPressed()?,
- bool isLoading = false,
- bool enabled = true,
- 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,
});