You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Usage/API Labeling.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
## Warning
2
+
3
+
This labeling will be removed soon, I it will be replaced with a full original API as described in [#56](https://github.com/alexrintt/shared-storage/issues/56).
4
+
5
+
## Labeling
6
+
1
7
When refering to the docs you'll usually see some labels before the method/class names.
2
8
3
9
They are label which identifies where the API came from.
Copy file name to clipboardExpand all lines: docs/Usage/Environment.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
## Import package
2
2
3
3
```dart
4
-
import 'package:shared_storage/environment.dart' as environment;
4
+
import 'package:shared_storage/shared_storage.dart' as shared_storage;
5
5
```
6
6
7
-
> **Note** Be aware that if you import the package `import '...' as environment;` (strongly recommended) you should prefix all method calls with `environment`, example:
But if you import without alias `import '...';` (Not recommeded because can conflict with other method/package names) you should use directly as functions:
Copy file name to clipboardExpand all lines: docs/Usage/Media Store.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
## Import package
2
2
3
3
```dart
4
-
import 'package:shared_storage/media_store.dart' as mediastore;
4
+
import 'package:shared_storage/shared_storage.dart' as shared_storage;
5
5
```
6
6
7
-
> **Note** Be aware that if you import the package `import '...' as mediastore;` (strongly recommended) you should prefix all method calls with `mediastore`, example:
But if you import without alias `import '...';` (Not recommeded because can conflict with other method/package names) you should use directly as functions:
Copy file name to clipboardExpand all lines: docs/Usage/Storage Access Framework.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
## Import package
2
2
3
3
```dart
4
-
import 'package:shared_storage/saf.dart' as saf;
4
+
import 'package:shared_storage/shared_storage.dart' as saf;
5
5
```
6
6
7
-
> **Note** Be aware that if you import the package `import '...' as saf;` (strongly recommended) you should prefix all method calls with `saf`, example:
7
+
Usage sample:
8
8
9
9
```dart
10
-
saf.openDocumentTree(...);
11
-
saf.listFiles(...);
10
+
shared_storage.openDocumentTree(...);
11
+
shared_storage.listFiles(...);
12
12
```
13
13
14
14
But if you import without alias `import '...';` (Not recommeded because can conflict with other method/package names) you should use directly as functions:
0 commit comments