ActionButtonWrapper constructor

ActionButtonWrapper({
  1. Key? key,
  2. EdgeInsetsGeometry? margin,
  3. double paddingValue = 16.0,
  4. double? height,
  5. double? width,
  6. required Widget child,
})

Implementation

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