TxSkeleton.square constructor

const TxSkeleton.square({
  1. required double dimension,
  2. Key? key,
  3. Color? color,
  4. BorderRadius? borderRadius,
  5. AlignmentGeometry? alignment,
  6. double? widthFactor,
  7. double? heightFactor,
})

Implementation

const TxSkeleton.square({
  required double dimension,
  super.key,
  this.color,
  this.borderRadius,
  this.alignment,
  this.widthFactor,
  this.heightFactor,
})  : width = dimension,
      height = dimension;