FileUploadPatternState
State holder for file upload pattern that manages file picking logic.
This state provides launchers for different picker types. It abstracts the complexity of handling different selection modes (single vs. multiple) and source types like camera or system file picker.
Properties
Link copied to clipboard
Whether this pattern is in single file mode.
Link copied to clipboard
Function to launch the camera picker.
Link copied to clipboard
Function to launch the file picker.
Link copied to clipboard
Function to launch the gallery picker (using the system file picker filtered for images).
Link copied to clipboard
Main launcher function that handles source selection based on FileUploadType.