ActionButtonWrapper constructor
ActionButtonWrapper({
- Key? key,
- EdgeInsetsGeometry? margin,
- double paddingValue = 16.0,
- double? height,
- double? width,
- required Widget child,
- Color? backgroundColor,
- BorderRadius? borderRadius,
Implementation
ActionButtonWrapper({
super.key,
EdgeInsetsGeometry? margin,
double paddingValue = 16.0, // Default value
double? height,
double? width,
required this.child,
this.backgroundColor,
this.borderRadius,
}) : _margin = margin ??
EdgeInsets.only(
bottom: 8,
right: paddingValue,
left: paddingValue,
),
_height = height ?? 60,
_width = width ?? double.infinity;