AnimatedPlaceholder constructor

const AnimatedPlaceholder({
  1. Key? key,
  2. double height = 16,
  3. double width = 150,
  4. int randomMaxWidth = 250,
  5. int randomMaxHeight = 15,
  6. double randomMinHeight = 10,
  7. double randomMinWidth = 150,
  8. double minHeightPlus = 10,
  9. double minWidthPlus = 100,
  10. bool useRandomHeight = false,
  11. bool useRandomWidth = true,
  12. bool useFadeInRightAnimation = false,
  13. Color? color,
  14. BorderRadius? borderRadius,
})

Implementation

const AnimatedPlaceholder({
  Key? key,
  this.height = 16,
  this.width = 150,
  this.randomMaxWidth = 250,
  this.randomMaxHeight = 15,
  this.randomMinHeight = 10,
  this.randomMinWidth = 150,
  this.minHeightPlus = 10,
  this.minWidthPlus = 100,
  this.useRandomHeight = false,
  this.useRandomWidth = true,
  this.useFadeInRightAnimation = false,
  this.color,
  this.borderRadius,
}) : super(key: key);