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

use flutter-builder for widget building #9

Closed
softmarshmallow opened this issue Oct 9, 2020 · 3 comments
Closed

use flutter-builder for widget building #9

softmarshmallow opened this issue Oct 9, 2020 · 3 comments

Comments

@softmarshmallow
Copy link

softmarshmallow commented Oct 9, 2020

https://github.com/bridgedxyz/flutter-builder

this enables you to write promised, consistent, complex widget tree. with js/ts syntax.

e.g.

const text = new Text("this is written in typescript", {textStyle: new TextStyle(color: Colors.black)})
console.log(text.build().finalize())

// >>
// Text("this is written in typescript", textStyle: TextStyle(color: Colors.black))

(p.s 한국사람)

@yutae
Copy link
Contributor

yutae commented Oct 11, 2020

안녕하세요 ! @softmarshmallow

좋은 오픈소스 프로젝트네요 👍 제안해주셔서 감사합니다.
간단하게 검토해봤지만 적용하기에 어려움이 있을것 같네요. 😭

  • 여러 옵션 적용 어려움
    • 예를 들면, Color 변수화 (color: AppColor.blue)
  • dart format 적용 어려움

dartfmt (dart_style)
The generated code format is set to dartfmt(dart_style) as much as possible.
You don't need to reformat genrated code.

@softmarshmallow
Copy link
Author

넵 답변주셔서 감사합니다.
"여러 옵션" 등과같은 확장성은 개인적으로도 필요해서 구현중입니다. dart_style 은 정상작동하지만 어떤 컨택스트에서 주신말씀인진 모르겠네요

해당이쓔는 클로즈해도 무방하며, 위 내용들 업데이트되면 다시 동일쓰래드에 노티한번 드리겠습니다

@yutae
Copy link
Contributor

yutae commented Oct 11, 2020

넵 감사합니다. 기대하겠습니다 ! 😄

@yutae yutae closed this as completed Oct 11, 2020
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

2 participants