Hacker News new | ask | show | jobs
by vanillax 1643 days ago
I've been trying to use this product for a personal app I'm making. its really good until its not. There needs to be better controls for mock data in listviews, I don't want to hook up to API in the tool, I have my own data, but I need the listview to aleast pretend theres data there.

Also the lack of positioned widgets in conjunction with stack views makes it hard to transfer the flutterflow experience to the actual app. What happens if I want anchor a view to the bottom of the screen in a stack? I cant without positioned widget. Imagine I have this view https://github.com/o1298098/Flutter-Movie/blob/master/srceen... and I want the bottom white part to be the "top" of the stack. This image isnt the best example because the poster is the entire background, imagine instead I had a column and I wanted to stack the bottom white card over it.

These kind of details make me have to abandon a almost perfect tool, but its utility is not quite 100% that is causes me to have to throw it all out.

I really wish I could use this tool with all the native widget, not just some.

2 comments

Hey! Thanks so much for the feedback.

You're right that there's currently no way to simulate the mock data view without actually adding a Firestore query or API call. That's a useful suggestion.

For the positioned issue, you can set the alignment of items in a Stack (same as the Align widget in Flutter). In our experience this tends to cover the vast majority of cases, however you're right that we don't currently support the Positioned widget! (For absolute positioning in pixels). And in general there are plenty of other widgets we still want to support. We're adding more and more widgets every week so we can deliver as much of the power of Flutter to folks.

Mock Data or even some way to wrap say a container and list it as the data model view. Then you can say repeat this 5-10 times... That way I can copy the code over directly to VScode and not have to remove the temporary duplicated "fake" widgets. This is the type of feedback I want to give because its almost a perfect tool, but then when I have to strip out all this duplicated code, the tool almost isnt saving me time. I dont feel like I can use it without having to go out of my way to make the tool work. I think this tool has alot of potential. I really hate how flutter native tooling has no UI preview.
What happens if I want anchor a view to the bottom of the screen in a stack?

You can use Align for that.

I didnt see a way to do this if the column is starting TOP to BOTTOM. I specifically want to set the second item in the stack ( ie the one on top ) to be anchored to bottom of the physical screen. I didnt see a way to do this with flutter flow's drag and drop.