Carpet constructor

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

Implementation

const Carpet({
  required this.child,
  this.padding,
  this.radius,
  this.color,
  this.border = false,
  super.key,
});