Git Product home page Git Product logo

Comments (3)

aarajput avatar aarajput commented on June 14, 2024

When i used

dependency_overrides:
  analyzer: 4.7.0

it worked fine.

from theme_tailor.

jakubtiteo avatar jakubtiteo commented on June 14, 2024

Hi!
Thank you for creating this issue.
Unfortunately, I can't reproduce described behavior using theme_tailor: 1.0.8 along with analyzer: 5.3.1.
Can you provide a minimal reproducible code sample so we can investigate this?

from theme_tailor.

Rongix avatar Rongix commented on June 14, 2024

Hello, we've just pushed updated versions of both packages to the pub.dev (v 1.1.1). It fixes several minor bugs as well as some of the 'dynamic generation' problems. In general it was caused by the issue with the analyzer and we've changed the way to handle it for some simple like just passing color / text style (and other Flutter types)

We've also updated some of the docs to guide devs what is the recommended way to use the generator here: DOCS
Please keep in mind that some of the types like List<List> will still result in incorrectly generated code because of the limitation of the current parser - for cases where you want to pass Flutter types in a list or a map it is recommended to wrapp them in non generic class or use ThemeExtensionClass. Here are examples how to do it

from theme_tailor.

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.