AnimatedPlaceholder constructor
const
AnimatedPlaceholder({
- Key? key,
- double height = 16,
- double width = 150,
- int randomMaxWidth = 250,
- int randomMaxHeight = 15,
- double randomMinHeight = 10,
- double randomMinWidth = 150,
- double minHeightPlus = 10,
- double minWidthPlus = 100,
- bool useRandomHeight = false,
- bool useRandomWidth = true,
- bool useFadeInRightAnimation = false,
- Color? color,
- 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);