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,
color: Colors.transparent,
elevation: elevation,
borderRadius: borderRadius,
shadowColor: shadowColor,
child: this,
);