elevation method
Widget
elevation(
- double elevation, {
- Key? key,
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- Color shadowColor = const Color(0xFF000000),
Implementation
Widget elevation(
double elevation, {
Key? key,
BorderRadiusGeometry borderRadius = BorderRadius.zero,
Color shadowColor = const Color(0xFF000000),
}) =>
Material(
key: key,
child: this,
color: Colors.transparent,
elevation: elevation,
borderRadius: borderRadius,
shadowColor: shadowColor,
);