ImageUrlControl constructor

const ImageUrlControl({
  1. Key? key,
  2. Uri? initialValue,
  3. double padding = 1,
  4. ValueChanged<Uri>? onUploaded,
  5. ErrorCallback? onError,
  6. SafeCompleter? readyCheck,
  7. double size = 60,
  8. VoidCallback? onStartChange,
  9. VoidCallback? onEndChange,
  10. String? type,
  11. ValueChanged<PFile?>? onFileChanged,
  12. bool hideOverlay = false,
  13. Producer<String>? imageId,
  14. Widget? placeholder,
  15. double? cropAspectRatio,
  16. bool cropAfterSelection = false,
  17. bool isReadOnly = false,
  18. bool preemptPermission = false,
  19. NamedIcon? overlay,
  20. bool allowThirdParty = false,
  21. dynamic extraOptions,
})

Implementation

const ImageUrlControl({
  Key? key,
  this.initialValue,
  this.padding = 1,
  this.onUploaded,
  this.onError,
  this.readyCheck,
  this.size = 60,
  this.onStartChange,
  this.onEndChange,
  this.type,
  this.onFileChanged,
  this.hideOverlay = false,
  this.imageId,
  this.placeholder,
  this.cropAspectRatio,
  this.cropAfterSelection = false,
  this.isReadOnly = false,
  this.preemptPermission = false,
  this.overlay,
  this.allowThirdParty = false,
  this.extraOptions,
}) : super(key: key);