RoundedRectangleMaterial constructor

const RoundedRectangleMaterial({
  1. Key? key,
  2. required Widget child,
  3. double borderRadius = 10.0,
  4. double elevation = 5.0,
  5. Color shadowColor = Colors.black,
  6. Color color = Colors.white,
  7. double width = double.infinity,
  8. double height = 100.0,
})

Implementation

const RoundedRectangleMaterial({super.key,
  required this.child,
  this.borderRadius = 10.0,
  this.elevation = 5.0,
  this.shadowColor = Colors.black,
  this.color = Colors.white,
  this.width = double.infinity,
  this.height = 100.0,
});