onTap property
Describe what to do when the form is tapped.
Normally, use image_picker
or file_picker
to display a dialog to select a file and return the media path to FormMediaRef.update.
フォームがタップされた場合の処理を記述します。
通常はimage_picker
やfile_picker
を用いてファイルを選択するダイアログを表示しメディアのパスをFormMediaRef.updateに返すようにします。
Implementation
final void Function(FormMediaRef ref)? onTap;