slidy icon indicating copy to clipboard operation
slidy copied to clipboard

erro ao executar ou instalar o slidy

Open xbacon14 opened this issue 3 years ago • 0 comments

/C:/Users/user/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/slidy-4.0.3/lib/src/core/models/custom_file.dart:29:8: Error: The method 'CustomFile.createSync' has fewer named arguments than those of overridden method 'File.createSync'. void createSync({bool recursive = false}) { ^ ../../../lib/flutter/bin/cache/dart-sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync'). void createSync({bool recursive = false, bool exclusive = false}); ^ /C:/Users/user/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/slidy-4.0.3/lib/src/core/models/custom_file.dart:29:8: Error: The method 'CustomFile.createSync' doesn't have the named parameter 'exclusive' of overridden method 'File.createSync'. void createSync({bool recursive = false}) { ^ ../../../lib/flutter/bin/cache/dart-sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync'). void createSync({bool recursive = false, bool exclusive = false});

A solucão foi adicionar eses dois parametros a esa clase

Screenshot_1

xbacon14 avatar Jan 19 '23 15:01 xbacon14