boxShadow property

List<BoxShadow> boxShadow

This is a standardized box shadow for every box (Button, Containers etc.).

Implementation

List<BoxShadow> get boxShadow => [
  BoxShadow(
    color: Colors.grey.withOpacity(0.3),
    spreadRadius: 2,
    blurRadius: 20,
    offset: const Offset(0, 3), // changes position of shadow
  ),
];