Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you please help me fix these errors? may be its because of versions of flutter #13

Open
marc-walton opened this issue Jan 21, 2022 · 0 comments

Comments

@marc-walton
Copy link

Error 1
A value of type 'MediaInformation' can't be returned from the method 'getMediaInformation' because it has a return type of 'Future<Map<dynamic, dynamic>>'.

 static Future<Map<dynamic, dynamic>> getMediaInformation( path) async {
    assert(File(path).existsSync());
///error at  _probe.getMediaInformation(path);

    return await _probe.getMediaInformation(path);
  }

Error 2
The argument type 'void Function(int, String)' can't be assigned to the parameter type 'void Function(Log)'.

  static void enableLogCallback(
      void Function(int level, String message) logCallback) {
///error at  enableLogCallback(logCallback);
    _config.enableLogCallback(logCallback);
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant