Skip to content

Commit 251989b

Browse files
committed
update comments
1 parent 6e57bb9 commit 251989b

File tree

6 files changed

+19
-67
lines changed

6 files changed

+19
-67
lines changed

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
## 0.0.1
1+
## 1.0.0
22

3-
* TODO: Describe initial release.
3+
- initial release
4+
- feature constists of: enqueue, cancel, cancelAll

example/pubspec.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ packages:
2323
source: hosted
2424
version: "1.1.2"
2525
chewie:
26-
dependency: transitive
26+
dependency: "direct main"
2727
description:
2828
name: chewie
2929
url: "https://pub.dartlang.org"
@@ -59,9 +59,9 @@ packages:
5959
path: ".."
6060
relative: true
6161
source: path
62-
version: "0.0.1"
62+
version: "1.0.0"
6363
image_picker:
64-
dependency: transitive
64+
dependency: "direct main"
6565
description:
6666
name: image_picker
6767
url: "https://pub.dartlang.org"
@@ -96,7 +96,7 @@ packages:
9696
source: hosted
9797
version: "1.6.2"
9898
path_provider:
99-
dependency: transitive
99+
dependency: "direct main"
100100
description:
101101
name: path_provider
102102
url: "https://pub.dartlang.org"
@@ -134,7 +134,7 @@ packages:
134134
name: source_span
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137-
version: "1.5.4"
137+
version: "1.5.5"
138138
stack_trace:
139139
dependency: transitive
140140
description:

example/pubspec.yaml

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_uploader_example
22
description: Demonstrates how to use the flutter_uploader plugin.
3-
publish_to: 'none'
3+
publish_to: "none"
44

55
environment:
66
sdk: ">=2.1.0 <3.0.0"
@@ -12,6 +12,9 @@ dependencies:
1212
# The following adds the Cupertino Icons font to your application.
1313
# Use with the CupertinoIcons class for iOS style icons.
1414
cupertino_icons: ^0.1.2
15+
path_provider: ^0.5.0+1
16+
image_picker: ^0.5.0+3
17+
chewie: ^0.9.5
1518

1619
dev_dependencies:
1720
flutter_test:
@@ -25,23 +28,18 @@ dev_dependencies:
2528

2629
# The following section is specific to Flutter.
2730
flutter:
28-
2931
# The following line ensures that the Material Icons font is
3032
# included with your application, so that you can use the icons in
3133
# the material Icons class.
3234
uses-material-design: true
33-
3435
# To add assets to your application, add an assets section, like this:
3536
# assets:
3637
# - images/a_dot_burr.jpeg
3738
# - images/a_dot_ham.jpeg
38-
3939
# An image asset can refer to one or more resolution-specific "variants", see
4040
# https://flutter.io/assets-and-images/#resolution-aware.
41-
4241
# For details regarding adding assets from package dependencies, see
4342
# https://flutter.io/assets-and-images/#from-packages
44-
4543
# To add custom fonts to your application, add a fonts section here,
4644
# in this "flutter" section. Each entry in this list should have a
4745
# "family" key with the font family name, and a "fonts" key with a

lib/flutter_uploader.dart

+3-4
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,10 @@ class FlutterUploader {
193193
/// * `method`: HTTP method to use for upload (POST,PUT,PATCH)
194194
/// * `headers`: HTTP headers
195195
/// * `data`: additional data to be uploaded together with file
196-
/// * `boundary`: custom part boundary
197-
/// * `showNotification`: sets `true` to show a notification displaying the
196+
/// * `showNotification`: sets `true` to show a notification displaying
197+
/// upload progress and success or failure of upload task (Android only), otherwise will disable
198+
/// this feature. The default value is `false`
198199
/// * `tag`: name of the upload request (only used on Android)
199-
/// download progress (only Android), otherwise, `false` value will disable
200-
/// this feature. The default value is `true`
201200
/// **return:**
202201
///
203202
/// an unique identifier of the new upload task

pubspec.lock

-43
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
# Generated by pub
22
# See https://www.dartlang.org/tools/pub/glossary#lockfile
33
packages:
4-
chewie:
5-
dependency: "direct main"
6-
description:
7-
name: chewie
8-
url: "https://pub.dartlang.org"
9-
source: hosted
10-
version: "0.9.6"
114
collection:
125
dependency: transitive
136
description:
@@ -20,41 +13,13 @@ packages:
2013
description: flutter
2114
source: sdk
2215
version: "0.0.0"
23-
image_picker:
24-
dependency: "direct main"
25-
description:
26-
name: image_picker
27-
url: "https://pub.dartlang.org"
28-
source: hosted
29-
version: "0.5.0+3"
3016
meta:
3117
dependency: transitive
3218
description:
3319
name: meta
3420
url: "https://pub.dartlang.org"
3521
source: hosted
3622
version: "1.1.6"
37-
open_iconic_flutter:
38-
dependency: transitive
39-
description:
40-
name: open_iconic_flutter
41-
url: "https://pub.dartlang.org"
42-
source: hosted
43-
version: "0.3.0"
44-
path_provider:
45-
dependency: "direct main"
46-
description:
47-
name: path_provider
48-
url: "https://pub.dartlang.org"
49-
source: hosted
50-
version: "0.5.0+1"
51-
screen:
52-
dependency: transitive
53-
description:
54-
name: screen
55-
url: "https://pub.dartlang.org"
56-
source: hosted
57-
version: "0.0.4"
5823
sky_engine:
5924
dependency: transitive
6025
description: flutter
@@ -74,13 +39,5 @@ packages:
7439
url: "https://pub.dartlang.org"
7540
source: hosted
7641
version: "2.0.8"
77-
video_player:
78-
dependency: transitive
79-
description:
80-
name: video_player
81-
url: "https://pub.dartlang.org"
82-
source: hosted
83-
version: "0.10.0+2"
8442
sdks:
8543
dart: ">=2.1.0 <3.0.0"
86-
flutter: ">=0.2.5 <2.0.0"

pubspec.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
name: flutter_uploader
2-
description: A new flutter plugin project.
3-
version: 0.0.1
4-
author:
5-
homepage:
2+
description: background upload plugin for flutter
3+
version: 1.0.0
4+
author: onikiri
5+
homepage: https://github.com/BlueChilli/flutter_uploader
66

77
environment:
88
sdk: ">=2.1.0 <3.0.0"
99

1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
path_provider: ^0.5.0+1
14-
image_picker: ^0.5.0+3
15-
chewie: ^0.9.5
1613

1714
# For information on the generic Dart part of this file, see the
1815
# following page: https://www.dartlang.org/tools/pub/pubspec

0 commit comments

Comments
 (0)