elevation property
set
elevation
(double elevation)
Implementation
set elevation(double elevation) {
final borderRadius =
_latest is ClipRRect ? (_latest as ClipRRect).borderRadius : null;
_add(
(w) => Material(
elevation: elevation,
borderRadius: borderRadius,
child: w,
),
);
}