Flutterando / slidy

CLI package manager and template for Flutter
https://pub.dev/packages/slidy
Apache License 2.0
806 stars 101 forks source link

erro ao executar ou instalar o slidy #280

Open xbacon14 opened 1 year ago

xbacon14 commented 1 year ago

/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