mirror of
https://github.com/flutter/packages.git
synced 2025-06-30 23:03:11 +08:00
[cross_file] Update README (#370)
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
## 0.3.1+2
|
||||||
|
|
||||||
|
* Fix package import in README
|
||||||
|
* Remove 'Get Started' boilerplate in README
|
||||||
|
|
||||||
## 0.3.1+1
|
## 0.3.1+1
|
||||||
|
|
||||||
* Rehomed to `flutter/packages` repository.
|
* Rehomed to `flutter/packages` repository.
|
||||||
|
@ -4,7 +4,7 @@ An abstraction to allow working with files across multiple platforms.
|
|||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
Import `package:cross/cross_info.dart`, instantiate a `CrossFile`
|
Import `package:cross_file/cross_file.dart`, instantiate a `CrossFile`
|
||||||
using a path or byte array and use its methods and properties to
|
using a path or byte array and use its methods and properties to
|
||||||
access the file and its metadata.
|
access the file and its metadata.
|
||||||
|
|
||||||
@ -25,10 +25,3 @@ print('Content of the file: ${fileContent}'); // e.g. "Moto G (4)"
|
|||||||
```
|
```
|
||||||
|
|
||||||
You will find links to the API docs on the [pub page](https://pub.dev/packages/cross_file).
|
You will find links to the API docs on the [pub page](https://pub.dev/packages/cross_file).
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
For help getting started with Flutter, view our online
|
|
||||||
[documentation](http://flutter.io/).
|
|
||||||
|
|
||||||
For help on editing plugin code, view the [documentation](https://flutter.io/platform-plugins/#edit-code).
|
|
@ -2,7 +2,7 @@ name: cross_file
|
|||||||
description: An abstraction to allow working with files across multiple platforms.
|
description: An abstraction to allow working with files across multiple platforms.
|
||||||
repository: https://github.com/flutter/packages/tree/master/packages/cross_file
|
repository: https://github.com/flutter/packages/tree/master/packages/cross_file
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+cross_file%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+cross_file%22
|
||||||
version: 0.3.1+1
|
version: 0.3.1+2
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
Reference in New Issue
Block a user