SuperSkeleton.rectangle constructor

const SuperSkeleton.rectangle({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. EdgeInsetsGeometry? margin,
})

Implementation

const SuperSkeleton.rectangle({
  super.key,
  this.width,
  this.height,
  this.margin,
}) : shape = const RoundedRectangleBorder(
        borderRadius: BorderRadius.all(Radius.circular(4)),
      );