sunarya-thito / shadcn_flutter

Shadcn/UI ported to Flutter (Unofficial)
https://sunarya-thito.github.io/shadcn_flutter/
BSD 3-Clause "New" or "Revised" License
50 stars 7 forks source link

Customize the style of each component from the theme #18

Open goottime opened 1 month ago

goottime commented 1 month ago

I don't know if there is such a thing here, but in forui I saw the ability to customize the style of each component directly from the application theme. In addition, there is also the ability to override the style when creating a component.

I understand that this work is very difficult, but I would like to see something like this here. I hope I did not overload you with tasks)

sunarya-thito commented 1 month ago

I'm gonna mark this as onhold until the dart macros feature is finally released on the stable channel. Without it, all of the 71 components would create such a huge boilerplate code in the package.

sunarya-thito commented 1 month ago

Actually i'm gonna try to use freezed to see if it's possible.