Open point-source opened 2 years ago
What I've done is to take this code (which I consider excellent) and customize it. I've added several other components (unfortunately too specific to my needs to add back here).
Hello @point-source, @sunilguptasg,
I am currently working on the next version of the package.
It will comport many breaking changes (especially if you customized it).
This newer, cleaner version will also have zero dependencies! Except for Flutter ;)
I hope to release it in the coming days.
Hello again,
You can now use the new version on the dev channel of the package (https://pub.dev/packages/flutter_auto_form/versions/1.0.0-dev.1).
I would really like to hear your feedback on this new version which comports a new way of building a custom widget and some other improvements.
The FileField was removed from this beta version!
That's great news! Thanks, I'll check it out this week. I have multiple projects making use of this library and it's the easiest form builder I've used so far. Great work.
@point-source thanks a lot :)
HI,
This is a package that is close to my design thinking, a pattern I have been using from 1990 in C. Needed something in Flutter – thanks again.
FYI, attached is an image of what I have added so far:
[[image missing]]
I’ve used a ‘consistent’ UI for each component (an icon for the audio recorder is pending) by using the InputDecorator – and had to use Riverpod to communicate change in focus of the components that do not really have a Text.
I’ve had to make just a few changes to get these done, but had to add several packages (including conditional packages for web and mobile), so for me a ‘pure Flutter’ is unimportant.
Will try the new code and come back!
Regards,
Hello @sunilguptasg,
I can't manage to see your image :(
I think that the new streamFocus of the field context instance passed down to the widget can now allow you to manage focus without riverpod.
Since this is still in a beta version, I would be glade to bring the changes you would like to see :)
Any chance we can break the file picker out into its own package? By including it as a dependency, any use of flutter_auto_form in an iOS app requires the NSPhotoLibraryUsageDescription key/value and permission, even if it isn't used.
I would prefer not to ask my users for elevated permissions unnecessarily since this is against apple policy, bad behavior, and a security risk.