Surface constructor

const Surface({
  1. required Component child,
  2. EdgeInsets? padding,
  3. double? radius,
  4. int elevation = 1,
  5. Color? color,
  6. bool border = true,
  7. Key? key,
})

Implementation

const Surface({
  required this.child,
  this.padding,
  this.radius,
  this.elevation = 1,
  this.color,
  this.border = true,
  super.key,
});