onChanged property

void Function(XFile? file)? onChanged
final

Callback triggered when the image is picked (either file or bytes)

Implementation

final void Function(XFile? file)? onChanged;