mirror of
https://github.com/flutter/packages.git
synced 2025-06-30 14:47:22 +08:00
[CrossFile] Fix class name in readme (#383)
It says you have to use a class CrossFile which doesn't even exist in the package. It must be XFile.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
## 0.3.1+3
|
||||
|
||||
* Fix example in README
|
||||
|
||||
## 0.3.1+2
|
||||
|
||||
* Fix package import in README
|
||||
|
@ -13,7 +13,7 @@ Example:
|
||||
```dart
|
||||
import 'package:cross_file/cross_file.dart';
|
||||
|
||||
final file = CrossFile('assets/hello.txt');
|
||||
final file = XFile('assets/hello.txt');
|
||||
|
||||
print('File information:');
|
||||
print('- Path: ${file.path}');
|
||||
|
@ -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+2
|
||||
version: 0.3.1+3
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
|
Reference in New Issue
Block a user