ImageUrlControl constructor
const
ImageUrlControl({
- Key? key,
- Uri? initialValue,
- double padding = 1,
- ValueChanged<
Uri> ? onUploaded, - ErrorCallback? onError,
- SafeCompleter? readyCheck,
- double size = 60,
- VoidCallback? onStartChange,
- VoidCallback? onEndChange,
- String? type,
- ValueChanged<
PFile?> ? onFileChanged, - bool hideOverlay = false,
- Producer<
String> ? imageId, - Widget? placeholder,
- double? cropAspectRatio,
- bool cropAfterSelection = false,
- bool isReadOnly = false,
- bool preemptPermission = false,
- NamedIcon? overlay,
- bool allowThirdParty = false,
- 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);