Elevation

Utilities for controlling the size of the shadow below the material and the opacity of the elevation overlay color if it is applied.

The elevation constants are defined inside StiloElevation
name elevation
z0
0
z10
10
z20
20
z30
30
z40
40
z50
50

Usage Example

Card(
    elevation: StiloElevation.z10,
    child: Column(
      mainAxisAlignment: MainAxisAlignment.center,
      mainAxisSize: MainAxisSize.min,
      children: [
        const ListTile(
          title: Text('Hello World'),
        ),
      ],
    ),
  )