Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Instance of 'minified:e' gives an error when I implement the Theme.dart into a project. #11

Closed
pelinyigit opened this issue Sep 5, 2019 · 4 comments

Comments

@pelinyigit
Copy link

pelinyigit commented Sep 5, 2019

I was trying to understand the implementation of Panache. Since it is a pretty new tool, I am not quite sure if I am doing the implementation right, but I created a new theme on Panache Web and I changed the Primary swatch just to test if it would work with my project but when I download the Theme.dart class and implement it to my Flutter project's lib folder, I get an error for a specific part of the code.

This is the code piece from Theme.dart:

code

It gives an error for every Instance of 'minified:e'

This is the error I get:

error

Did I do something wrong while I was implementing the code in my project? or is it something else?

@gazialankus
Copy link

I get the same thing while using Panache Web. It seems Panache is outputting errors instead of the color values there. I just change the main color and the generated code has these minified e stuff, which look like errors. @rxlabz were you actually able to use the generated code in Flutter projects?

@rxlabz
Copy link
Owner

rxlabz commented Sep 5, 2019

Sorry it was a bug. It's fixed now !

@rxlabz rxlabz closed this as completed Sep 5, 2019
@pelinyigit
Copy link
Author

Hi @rxlabz , thanks for the fix. It worked for the part that I posted a screenshot of, but actually, the code has lots of errors like this :

1

2

3

So, I just saw a Github repo for Panache Web, sorry for opening the issue in here. I realized main.dart.js has been edited. Is that the one that fixed the first error?

@rxlabz rxlabz reopened this Sep 6, 2019
@rxlabz
Copy link
Owner

rxlabz commented Sep 10, 2019

Hi, the bug should be now fixed for all values. Thanks.
I moved all the sub-projects to this repo and the app is available on https://rxlabz.github.io/panache so bug reports are welcome here !

@rxlabz rxlabz closed this as completed Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants