Giter VIP home page Giter VIP logo

Comments (9)

Nico04 avatar Nico04 commented on July 17, 2024 1

However your issue is the other way round. When a newer version of flutter is released on stable channel, v0.2.10 should work.

OK, I'll wait until september for the next release to update your package. Thanks.

from reorderables.

hanshengchiu avatar hanshengchiu commented on July 17, 2024 1

Thanks for the info. In that case the two classes shouldn't have been exported. However the two classes are available as long as you include materials.dart or foundations.dart and the documentation doesn't say FlutterErrorDetails is Flutter-specific... I will remove it.

from reorderables.

hanshengchiu avatar hanshengchiu commented on July 17, 2024

I'm using the latest flutter release. The version you use doesn't seem to be official yet.
[√] Flutter (Channel beta, v1.5.4-hotfix.2, on Microsoft Windows

from reorderables.

Nico04 avatar Nico04 commented on July 17, 2024

I've got similar issue with last stable flutter and plugin v0.2.10.
plugin v0.2.9 works fine.

from reorderables.

hanshengchiu avatar hanshengchiu commented on July 17, 2024

@Nico04 What's your flutter version?
Mine is [√] Flutter (Channel beta, v1.6.3, on Microsoft Windows [Version 10.0.17763.529], locale en-US) and 0.2.10 works fine.

from reorderables.

Nico04 avatar Nico04 commented on July 17, 2024

I'm on the latest stable version :
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17763.529], locale en-GB)

from reorderables.

hanshengchiu avatar hanshengchiu commented on July 17, 2024

I think this is an incompatibility between flutter v1.5.4-hotfix.2 and newer versions. OP had the same issue with what I have with v1.6.3. Back then the change to FlutterErrorDetails hadn't been push forward to beta or stable channel. But now it has.
However your issue is the other way round. When a newer version of flutter is released on stable channel, v0.2.10 should work.

from reorderables.

energynumbers avatar energynumbers commented on July 17, 2024

Quoting from flutter/flutter#31962

If you package isn't trying to act like it is part of package:flutter then you should consider whether FlutterError and FlutterErrorDetails are classes you should be using. You might be confusing your users more than helping them by making your errors look like they are coming from the framework instead of from your library. For example the documentation for FlutterError says it is an "Error class used to report Flutter-specific assertion failures and contract violations."

I'm interested in understanding how you are using FlutterErrorDetails in your user code. What are you looking to accomplish using the class? In general this wasn't a class we expected users to use.

In summary, it's probably inappropriate to use FlutterError and FlutterErrorDetails in the reorderables package.

from reorderables.

hanshengchiu avatar hanshengchiu commented on July 17, 2024

v0.2.12

from reorderables.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.