Skip to main content

antd_upload 1.0.2 copy "antd_upload: ^1.0.2" to clipboard
antd_upload: ^1.0.2 copied to clipboard

Ant Design v6 Upload component for Flutter. File selection upload with file list display, upload progress, preview and remove, aligned with antd React Upload API.

Changelog #

1.0.2 #

  • Republished with a Web-compatible dependency chain.
  • Republished to refresh pub.dev platform scoring.

1.0.1 #

  • Fix pub.dev static analysis results by aligning internal dependency constraints.
  • Ship the package example and tighten pubspec metadata for better pub.dev scoring.
  • Documentation and changelog polish.

1.0.0 #

Initial stable release of the standalone antd_upload package.

Features #

  • AntUpload<T> renders an upload trigger and a generic file list with text, picture, and picture-card presentations.
  • Files are supplied by onSelectFiles; the component performs no file picking and no network I/O.
  • customRequest receives each file together with an updateFile callback for publishing progress, completion, and errors.
  • Controlled fileList and uncontrolled defaultFileList modes are supported, with onChange reporting the changed file and the current list.
  • AntUploadFile<T> carries uid, name, status, size, URLs, percentage, response, and a typed extra payload; copyWith preserves the payload.
  • Removal is gated by onRemove, which can cancel the operation by returning false; a file marked removed leaves the visible list and is ignored by the maxCount calculation.
  • maxCount, multiple, disabled, and showUploadList control selection capacity and interaction.
  • onPreview exposes row activation, and itemBuilder can replace the default row rendering with business-specific content.
  • Uploading, done, error, and removed states drive the progress overlay, error icon, and list membership.
  • Added the AntUploadStatus and AntUploadListType enums and the AntUploadItemBuilder typedef.
1
likes
160
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Ant Design v6 Upload component for Flutter. File selection upload with file list display, upload progress, preview and remove, aligned with antd React Upload API.

Homepage
Repository (GitHub)
View/report issues

Topics

#ui #components #design-system #ant-design #upload

License

MIT (license)

Dependencies

antd_icons_flutter, antd_theme, flutter, material_ui

More

Packages that depend on antd_upload