Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

erro ao executar ou instalar o slidy  #280

@xbacon14

Description

@xbacon14

/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions