Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/flowder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export 'utils/utils.dart';
/// Global [typedef] that returns a `int` with the current byte on download
/// and another `int` with the total of bytes of the file.
typedef ProgressCallback = void Function(int count, int total);

typedef VoidCallback = void Function();
/// Class used as a Static Handler
/// you can call the folowwing functions.
/// - Flowder.download: Returns an instance of [DownloaderCore]
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils/downloader_utils.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'dart:io';

import 'dart:ui';
import 'package:dio/dio.dart' hide ProgressCallback;
import 'package:flowder/src/flowder.dart';
import 'package:flowder/src/progress/interfaces/progress_interface.dart';
Expand Down