multiShadow method

Container multiShadow(
  1. List<BoxShadow> shadows, {
  2. Color color = Colors.black12,
  3. double borderRadius = 0,
})

Implementation

Container multiShadow(List<BoxShadow> shadows, {Color color = Colors.black12, double borderRadius = 0}) {
  return Container(
    child: this,
    decoration: BoxDecoration(color: Colors.white, borderRadius: BorderRadius.circular(borderRadius), boxShadow: [...shadows]),
  );
}