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

Can you give me some Widgets the effect diagram and corresponding code #27

Open
leeyisoft opened this issue Jun 1, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@leeyisoft
Copy link

Can you give me some Widgets the effect diagram and corresponding code

http://www.layui-vue.com/zh-CN/components/radio

image

@SaltyAom SaltyAom added the enhancement New feature or request label Jun 5, 2022
@SaltyAom SaltyAom self-assigned this Jun 5, 2022
@SaltyAom
Copy link
Owner

SaltyAom commented Jun 5, 2022

It's a nice feature to have, and I would also like to see it for sure, but I can't say for sure that I can add it in the near future.

There are 2 main problems for now:

  1. Compiling Flutter to the web with interactivity like code editor like Dartpad doesn't accept 3rd party package yet.

  2. Because adding all the property would lead to a very long page, for example, TextFormField have more than 60+ property.
    However, we could group it together but would still be very long.


But if it works then, there are some questions left.

Niku effect is the same as the native Flutter widget, so just wondering which range of scope would you like to see?
All the property, or just the one that is unique to Niku.

For example:

Planning on adding something like:

// Unique to Niku
n.TextFormField()
  ..outlined

Would you group this together, or separated?

n.TextField()
  ..emailKeyboard

n.TextField()
  .. passwordKeyboard

However, there's a new doc I'm working on, so I'll try to find a way to include it smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants