ShadowContainer constructor

ShadowContainer({
  1. EdgeInsetsGeometry margin = const EdgeInsets.fromLTRB(0, 10, 0, 8),
  2. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 8),
  3. double circular = 4,
  4. Color shadowColor = const Color.fromARGB(128, 158, 158, 158),
  5. Color backgroundColor = Colors.white,
  6. double spreadRadius = 1,
  7. double blurRadius = 3,
  8. Offset offset = const Offset(0, 1),
  9. required Widget child,
})

Implementation

ShadowContainer({

  this.margin = const EdgeInsets.fromLTRB(0, 10, 0, 8),
  this.padding = const EdgeInsets.symmetric(horizontal: 8),
  this.circular = 4,
  this.shadowColor = const Color.fromARGB(
      128, 158, 158, 158), //Colors.grey.withOpacity(0.5),
  this.backgroundColor = Colors.white,
  this.spreadRadius = 1,
  this.blurRadius = 3,
  this.offset = const Offset(0, 1),
  required this.child,
}) ;