VideoShimmer constructor

const VideoShimmer({
  1. Key? key,
  2. bool isRectBox = false,
  3. bool isDarkMode = false,
  4. AlignmentGeometry beginAlign = Alignment.topLeft,
  5. AlignmentGeometry endAlign = Alignment.bottomRight,
  6. bool hasBottomBox = false,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(16.0),
  8. EdgeInsetsGeometry margin = const EdgeInsets.all(16.0),
  9. bool isPurplishMode = false,
  10. bool hasCustomColors = false,
  11. List<Color> colors = defaultColors,
  12. Color bgColor = Colors.transparent,
})

Implementation

const VideoShimmer({
  Key? key,
  this.isRectBox = false,
  this.isDarkMode = false,
  this.beginAlign = Alignment.topLeft,
  this.endAlign = Alignment.bottomRight,
  this.hasBottomBox = false,
  this.padding = const EdgeInsets.all(16.0),
  this.margin = const EdgeInsets.all(16.0),
  this.isPurplishMode = false,
  this.hasCustomColors = false,
  this.colors = defaultColors,
  this.bgColor = Colors.transparent,
}) : super(key: key);