RoundContainerView constructor Null safety

RoundContainerView(
  1. {Key? key,
  2. Widget? child,
  3. double? width,
  4. double minWidth = 0,
  5. double maxWidth = double.infinity,
  6. double? height,
  7. double borderRadius = 12,
  8. EdgeInsets padding = EdgeInsets.zero,
  9. EdgeInsets margin = EdgeInsets.zero,
  10. Color? backgroundColor = Colors.white,
  11. double borderWidth = 0,
  12. Color borderColor = const Color.fromARGB(255, 249, 249, 249),
  13. bool showShadow = false,
  14. double shadow = 0.05,
  15. Function? onTap}
)

Implementation

RoundContainerView({
  Key? key,
  this.child,
  this.width,
  this.minWidth = 0,
  this.maxWidth = double.infinity,
  this.height,
  this.borderRadius = 12,
  this.padding = EdgeInsets.zero,
  this.margin = EdgeInsets.zero,
  this.backgroundColor = Colors.white,
  this.borderWidth = 0,
  this.borderColor = const Color.fromARGB(255, 249, 249, 249),
  this.showShadow = false,
  this.shadow = 0.05,
  this.onTap,
}) : super(key: key);