elevation method

Widget elevation(
  1. double elevation, {
  2. Key? key,
  3. BorderRadiusGeometry borderRadius = BorderRadius.zero,
  4. 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,
    );