ShadowContainer constructor
ShadowContainer({
- EdgeInsetsGeometry margin = const EdgeInsets.fromLTRB(0, 10, 0, 8),
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 8),
- double circular = 4,
- Color shadowColor = const Color.fromARGB(128, 158, 158, 158),
- Color backgroundColor = Colors.white,
- double spreadRadius = 1,
- double blurRadius = 3,
- Offset offset = const Offset(0, 1),
- 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,
}) ;