UploadPhotoPlaceholder constructor

const UploadPhotoPlaceholder({
  1. Key? key,
  2. required String text,
  3. double width = 600,
  4. double height = 300,
  5. IconData icon = Icons.camera_alt_outlined,
  6. double marginRight = 16,
  7. Color color = Colors.black38,
  8. Color borderColor = Colors.black45,
  9. Color fontColor = Colors.black54,
})

Implementation

const UploadPhotoPlaceholder({
  super.key,
  required this.text,
  this.width = 600,
  this.height = 300,
  this.icon = Icons.camera_alt_outlined,
  this.marginRight = 16,
  this.color = Colors.black38,
  this.borderColor = Colors.black45,
  this.fontColor = Colors.black54,
});