From 2efee6d8adfe188c4c47ab59f82bc6ae84b45f20 Mon Sep 17 00:00:00 2001 From: Aneesh Rao Date: Fri, 11 Jun 2021 03:04:03 +0000 Subject: [PATCH] [cross_file] Update README (#370) --- packages/cross_file/CHANGELOG.md | 5 +++++ packages/cross_file/README.md | 9 +-------- packages/cross_file/pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/packages/cross_file/CHANGELOG.md b/packages/cross_file/CHANGELOG.md index 960c870c8a..508db9185c 100644 --- a/packages/cross_file/CHANGELOG.md +++ b/packages/cross_file/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.3.1+2 + +* Fix package import in README +* Remove 'Get Started' boilerplate in README + ## 0.3.1+1 * Rehomed to `flutter/packages` repository. diff --git a/packages/cross_file/README.md b/packages/cross_file/README.md index 65bd418961..f9bbbf5223 100644 --- a/packages/cross_file/README.md +++ b/packages/cross_file/README.md @@ -4,7 +4,7 @@ An abstraction to allow working with files across multiple platforms. # 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 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). - -## 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). \ No newline at end of file diff --git a/packages/cross_file/pubspec.yaml b/packages/cross_file/pubspec.yaml index b207dc8a1d..79175d138b 100644 --- a/packages/cross_file/pubspec.yaml +++ b/packages/cross_file/pubspec.yaml @@ -2,7 +2,7 @@ name: cross_file description: An abstraction to allow working with files across multiple platforms. 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 -version: 0.3.1+1 +version: 0.3.1+2 environment: sdk: ">=2.12.0 <3.0.0"