PolaroidPhoto constructor

const PolaroidPhoto({
  1. Key? key,
  2. required String imagePath,
  3. required Color backgroundColor,
  4. double angle = 0,
  5. bool isAsset = false,
  6. double? width,
  7. bool showShadow = true,
  8. double borderWidth = 10,
})

Creates a PolaroidPhoto widget with customizable presentation.

Implementation

const PolaroidPhoto({
  super.key,
  required this.imagePath,
  required this.backgroundColor,
  this.angle = 0,
  this.isAsset = false,
  this.width,
  this.showShadow = true,
  this.borderWidth = 10,
});