FileUploadField class

Inheritance

Constructors

FileUploadField({Key? key, String? label, List<UploadedFile>? value, ValueChanged<List<UploadedFile>?>? onChanged, FormFieldValidator<List<UploadedFile>>? validator, InputDecoration? decoration, UploadMode uploadMode = UploadMode.single, FileSource fileSource = FileSource.all, List<FileType> allowedTypes = const [FileType.any], List<String>? allowedExtensions, int? maxFiles, int? maxFileSize, int? minFileSize, UploadStrategy uploadStrategy = UploadStrategy.immediate, FileProcessingOptions processingOptions = const FileProcessingOptions(), bool enableAIAnalysis = false, bool enableOCR = false, bool enableAutoTagging = false, bool enableDuplicateDetection = false, bool enableImageEnhancement = false, SecurityOptions securityOptions = const SecurityOptions(), bool enableClientSideEncryption = false, String? encryptionKey, CloudStorageConfig? cloudConfig, bool enableMultiCloudSync = false, List<CloudStorageConfig>? syncProviders, double? height, double? width, Widget? uploadIcon, String? uploadText, String? uploadHint, Color? uploadAreaColor, Color? borderColor, double? borderRadius, bool showUploadProgress = true, bool showFileSize = true, bool showFileInfo = true, bool showAdvancedInfo = false, bool enablePreview = true, double? previewHeight, double? previewWidth, bool enableFullScreenPreview = true, Widget customPreviewBuilder(UploadedFile file)?, bool showThumbnails = true, double? thumbnailSize, bool enableImageFilters = false, bool enableVideoPreview = false, bool enableAudioWaveform = false, bool enableDocumentPreview = false, bool enableDragDrop = true, bool enableMultiSelectDrag = false, bool enableGestureControls = false, String? dragDropText, Color? dragDropColor, bool enablePasteFromClipboard = false, Future<String?> onUpload(UploadedFile file)?, Future<bool> beforeUpload(UploadedFile file)?, VoidCallback? onUploadStart, VoidCallback? onUploadComplete, dynamic onUploadError(String error)?, dynamic onProgressUpdate(UploadedFile file, double progress)?, bool enableUrlUpload = false, bool enableCloudUpload = false, bool enableScannerUpload = false, Map<String, String>? uploadHeaders, int? chunkSize, bool enableUploadResume = false, int? maxRetries, bool enableRealTimeSync = false, bool enableVersionControl = false, bool enableComments = false, bool enableSharing = false, dynamic onCommentAdded(UploadedFile file, String comment)?, dynamic onFileShared(UploadedFile file, Map<String, dynamic> shareData)?, bool enableAnalytics = false, bool enablePerformanceMonitoring = false, dynamic onAnalyticsEvent(Map<String, dynamic> analyticsData)?, bool validateFileContent = false, Future<bool> customValidator(UploadedFile file)?, Future<UploadedFile> fileProcessor(UploadedFile file)?, bool enableBackgroundProcessing = false, String? semanticLabel, bool enableKeyboardNavigation = true, Map<String, String>? localizations, bool enableRTL = false, Map<String, dynamic>? workflowConfig, dynamic onWorkflowAction(UploadedFile file, String comment)?})
const

Properties

allowedExtensions → List<String>?
final
allowedTypes → List<FileType>
final
beforeUpload → Future<bool> Function(UploadedFile file)?
final
borderColor → Color?
final
borderRadius → double?
final
chunkSize → int?
final
cloudConfig → CloudStorageConfig?
final
customPreviewBuilder → Widget Function(UploadedFile file)?
final
customValidator → Future<bool> Function(UploadedFile file)?
final
decoration → InputDecoration?
final
dragDropColor → Color?
final
dragDropText → String?
final
enableAIAnalysis → bool
final
enableAnalytics → bool
final
enableAudioWaveform → bool
final
enableAutoTagging → bool
final
enableBackgroundProcessing → bool
final
enableClientSideEncryption → bool
final
enableCloudUpload → bool
final
enableComments → bool
final
enableDocumentPreview → bool
final
enableDragDrop → bool
final
enableDuplicateDetection → bool
final
enableFullScreenPreview → bool
final
enableGestureControls → bool
final
enableImageEnhancement → bool
final
enableImageFilters → bool
final
enableKeyboardNavigation → bool
final
enableMultiCloudSync → bool
final
enableMultiSelectDrag → bool
final
enableOCR → bool
final
enablePasteFromClipboard → bool
final
enablePerformanceMonitoring → bool
final
enablePreview → bool
final
enableRealTimeSync → bool
final
enableRTL → bool
final
enableScannerUpload → bool
final
enableSharing → bool
final
enableUploadResume → bool
final
enableUrlUpload → bool
final
enableVersionControl → bool
final
enableVideoPreview → bool
final
encryptionKey → String?
final
fileProcessor → Future<UploadedFile> Function(UploadedFile file)?
final
fileSource → FileSource
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label → String?
final
localizations → Map<String, String>?
final
maxFiles → int?
final
maxFileSize → int?
final
maxRetries → int?
final
minFileSize → int?
final
onAnalyticsEvent → dynamic Function(Map<String, dynamic> analyticsData)?
final
onChanged → ValueChanged<List<UploadedFile>?>?
final
onCommentAdded → dynamic Function(UploadedFile file, String comment)?
final
onFileShared → dynamic Function(UploadedFile file, Map<String, dynamic> shareData)?
final
onProgressUpdate → dynamic Function(UploadedFile file, double progress)?
final
onUpload → Future<String?> Function(UploadedFile file)?
final
onUploadComplete → VoidCallback?
final
onUploadError → dynamic Function(String error)?
final
onUploadStart → VoidCallback?
final
onWorkflowAction → dynamic Function(UploadedFile file, String comment)?
final
previewHeight → double?
final
previewWidth → double?
final
processingOptions → FileProcessingOptions
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityOptions → SecurityOptions
final
semanticLabel → String?
final
showAdvancedInfo → bool
final
showFileInfo → bool
final
showFileSize → bool
final
showThumbnails → bool
final
showUploadProgress → bool
final
syncProviders → List<CloudStorageConfig>?
final
thumbnailSize → double?
final
uploadAreaColor → Color?
final
uploadHeaders → Map<String, String>?
final
uploadHint → String?
final
uploadIcon → Widget?
final
uploadMode → UploadMode
final
uploadStrategy → UploadStrategy
final
uploadText → String?
final
validateFileContent → bool
final
validator → FormFieldValidator<List<UploadedFile>>?
final
value → List<UploadedFile>?
final
width → double?
final
workflowConfig → Map<String, dynamic>?
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<FileUploadField>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited