dio_image_uploader 0.0.1

SDKflutter
Platformandroidioswindowslinuxmacosweb

A Flutter package that provides utilities for uploading files using Dio. It includes functionalities for obtaining pre-signed URLs for secure uploads, determining file extensions, and getting MIME content types based on file extensions. This package simplifies file management in Flutter applications and supports various document types.

Dio File Upload Util

File Upload Util is a Flutter package designed to make file and image uploads simple using dio, along with utility functions to manage file extensions and MIME content types.

Features

  • Upload Files: Upload images and files using a pre-signed URL via dio.
  • Utility Functions:
    • Extract file extension from a file path.
    • Get MIME content type for a given file extension.

Installation

To install this package, add the following dependency to your pubspec.yaml file:

dependencies:
  dio_image_uploader:
  dio: ^5.0.0