nank1ro / flutter-shadcn-ui

shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable.
https://mariuti.com/shadcn-ui
MIT License
673 stars 43 forks source link

Form or FormFields #23

Closed nank1ro closed 4 months ago

nank1ro commented 4 months ago

https://ui.shadcn.com/docs/components/form

dickermoshe commented 4 months ago

Do you plan on baking in validation like shadcn?

nank1ro commented 4 months ago

@dickermoshe shadcn uses zod, there is no such equivalent that I know of in dart. I think I will leave the validation completely up to the user, like Material's form fields. If you have any suggestions, I'm happy to hear them. Improvements are welcome, for an early version I think we can delegate validation to the user.

hamza-imran75 commented 4 months ago

There are two libraries similar to Zod:

Luther

Zod

nank1ro commented 4 months ago

@hamza-imran75 will check them out, but as I said previously, I'm not going to implement them in the first version. But I'm happy to introduce them in future versions