BoxWidget constructor Null safety

BoxWidget(
  1. {Key? key,
  2. String? label,
  3. required Uri? image,
  4. String? info,
  5. Axis axis = Axis.vertical,
  6. Color? color,
  7. Color? borderColor,
  8. BoxShadow? borderShadow,
  9. BorderRadius? borderRadius = Dimens.border_radius_small,
  10. double? width,
  11. double? height,
  12. EdgeInsets padding = Dimens.padding_small,
  13. EdgeInsets margin = Dimens.margin_zero,
  14. VisibilityMode visibility = VisibilityMode.Enable,
  15. VoidCallback? onPress}
)