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

Project not running #16

Closed
thamiiaz opened this issue Feb 17, 2021 · 2 comments
Closed

Project not running #16

thamiiaz opened this issue Feb 17, 2021 · 2 comments

Comments

@thamiiaz
Copy link

When trying to execute, the following errors were reported (repeatedly, several of them)
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/render_picture.dart:20:9: Error: Type 'PictureInfo' not found.
final PictureInfo picture;

**lib/login/login_form_one.dart:33:23: Error: The getter 'SvgPicture' isn't defined for the class 'LoginFormTypeOne'.

  • 'LoginFormTypeOne' is from 'package:contraflutterkit/login/login_form_one.dart' ('lib/login/login_form_one.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'SvgPicture'.
    SvgPicture.asset(
    ^^^^^^^^^^**

../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/render_picture.dart:20:9: Error: 'PictureInfo' isn't a type.
final PictureInfo picture;
^^^^^^^^^^^

### attached the execution log

LOG-02172021.txt

@zikwall
Copy link

zikwall commented Mar 13, 2021

I support it, here are some more examples of some problems when trying to run on the device

/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:88:26: Error: Type 'DiagnosticableMixin' not found.

class PictureStream with DiagnosticableMixin {

                         ^^^^^^^^^^^^^^^^^^^
/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:167:11: Error: Superclass has no method named 'debugFillProperties'.

    super.debugFillProperties(properties);

          ^^^^^^^^^^^^^^^^^^^

and they all seem to be related to the flutter_svg-0.17.4 dependency

@aniketambore
Copy link
Contributor

Hello, You can just replace the flutter_svg: ^0.17.4 with flutter_svg: ^0.19.3 and that's working fine.

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

4 participants