File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 0.3.1
2+
3+ * Fix nullability of ` XFileBase ` 's ` path ` and ` name ` to match the
4+ implementations to avoid potential analyzer issues.
5+
16## 0.3.0
27
38* Migrated package to null-safety.
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ abstract class XFileBase {
3131 /// Accessing the data contained in the picked file by its path
3232 /// is platform-dependant (and won't work on web), so use the
3333 /// byte getters in the CrossFile instance instead.
34- String ? get path {
34+ String get path {
3535 throw UnimplementedError ('.path has not been implemented.' );
3636 }
3737
3838 /// The name of the file as it was selected by the user in their device.
3939 ///
4040 /// Use only for cosmetic reasons, do not try to use this as a path.
41- String ? get name {
41+ String get name {
4242 throw UnimplementedError ('.name has not been implemented.' );
4343 }
4444
Original file line number Diff line number Diff line change 11name : cross_file
22description : An abstraction to allow working with files across multiple platforms.
33homepage : https://github.com/flutter/plugins/tree/master/packages/cross_file
4- version : 0.3.0
4+ version : 0.3.1
55
66dependencies :
77 flutter :
You can’t perform that action at this time.
0 commit comments