tbib_file_uploader 1.0.2
tbib_file_uploader: ^1.0.2 copied to clipboard
This package for upload file you can display notifications and progress notification and can receive upload bytes and total bytes
tbib_file_uploader #
This package for upload file you can display notifications and progress notification and can receive upload bytes and total bytes
Note this package use awesome notification
- Can display progress in your app


- Notification with progress bar

- Notification downloaded ended

- ios configuration
step 1
Change
BUILD_LIBRARY_FOR_DISTRIBUTION = NO
to
BUILD_LIBRARY_FOR_DISTRIBUTION = NO
Note:
Notification progress bar not support in ios.
- How to use
step 1
- init package in main
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await TBIBFileUploader().init();
....
}
if you want to download file can use tbib downloader
Note
you can use this function to pick file or image without widget
selectFileOrImage(
context: context,
selectedFile: ({String? name, String? path}) {
log('selectedFile: $name , $path');
},
selectFile: false,
selectImageCamera: true,
selectImageGallery: true);