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

CodeGen: add Flutter support #243

Open
8 tasks
manekinekko opened this issue Mar 5, 2019 · 6 comments
Open
8 tasks

CodeGen: add Flutter support #243

manekinekko opened this issue Mar 5, 2019 · 6 comments

Comments

@manekinekko
Copy link
Member

manekinekko commented Mar 5, 2019

  • add Component/Controler logic
  • add spec file (if applicable)
  • add HTML/XML/View (if applicable)
  • add styles
  • add readme
  • add export to stackblitz (or other external editor)
  • add unit test
  • add entry to the editor menu

See getting started: https://flutter.dev/docs/get-started/codelab

@romulocintra
Copy link
Member

Love it can i work on that!?

@Jefiozie
Copy link
Member

hey @romulocintra, do you have any updates on this issue? If you need any help just ping us.

@romulocintra
Copy link
Member

Hi, @Jefiozie did not had time to look deeply on that .

But i found that code needed for flutter to paint the components will very different that one we output.

Meaning a simple Css equivalent file would be something like :


TextStyle(
  color: Colors.white,
  fontSize: 24.0,
  fontWeight: FontWeight.w900,
);

or something like :

 color: Color.fromRGBO(0, 0, 0, 0.8),
    fontFamily: 'NotoSans',
    fontSize: 32.0,
    fontStyle: FontStyle.normal,
    fontWeight: FontWeight.bold,

This means we must create some transforms to be really applied as style , beside of that all layout part isn't easy to apply at this stage.

I saw this article that talks about a possible web implementation but i see easy to implement a Dart export than the flutter at this point.

@romulocintra
Copy link
Member

romulocintra commented Mar 20, 2019

@manekinekko any friend from google involved on flutter project that can give us a hand ?

@manekinekko manekinekko modified the milestones: Beta.5, Beta.6 Apr 2, 2019
@shikanime
Copy link
Member

I wrote a simple design document that should highlight some points about how we can implement Flutter in CodeGen assuming a minimal knowledge of the xLayers flow (CodeGen services). https://docs.google.com/document/d/1xO6GvXif8AAubMrvTeC2PglcpQrWdVmvIY2bDfxOQl4/edit?usp=sharing

@romulocintra
Copy link
Member

I wrote a simple design document that should highlight some points about how we can implement Flutter in CodeGen assuming a minimal knowledge of the xLayers flow (CodeGen services). https://docs.google.com/document/d/1xO6GvXif8AAubMrvTeC2PglcpQrWdVmvIY2bDfxOQl4/edit?usp=sharing

Very good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants