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 onUpdate
.
フォームがタップされた場合の処理を記述します。通常はimage_picker
やfile_picker
を用いてファイルを選択するダイアログを表示しメディアのパスをonUpdate
に返すようにします。
Implementation
final void Function(
void Function(String filePath, FormMediaType type) onUpdate,
)? onTap;