ShadowProperties constructor

const ShadowProperties({
  1. double? height,
  2. Offset offset = const Offset(0, 0),
  3. double blurRadius = 4,
  4. double spreadRadius = 0,
  5. Color? backgroundColor,
  6. Color color = const Color.fromRGBO(27, 28, 36, 0.60),
})

Implementation

const ShadowProperties({
  double? height,
  this.offset = const Offset(0, 0),
  this.blurRadius = 4,
  this.spreadRadius = 0,
  this.backgroundColor,
  this.color = const Color.fromRGBO(27, 28, 36, 0.60),
}) : height = height ?? 40;