FileButton represents a [Filename] value with a button that opens a [FilePicker].
| 709 | // FileButton represents a [Filename] value with a button |
| 710 | // that opens a [FilePicker]. |
| 711 | type FileButton struct { |
| 712 | Button |
| 713 | Filename string |
| 714 | |
| 715 | // Extensions are the target file extensions for the file picker. |
| 716 | Extensions string |
| 717 | } |
| 718 | |
| 719 | func (fb *FileButton) WidgetValue() any { return &fb.Filename } |
| 720 |
nothing calls this directly
no outgoing calls
no test coverage detected