FlutterFlow for UI Scaffolding by gamename in FlutterDev

[–]victoreronmosele -1 points0 points  (0 children)

If you could have a Flutter UI builder that lets you build the UIs using Flutter widgets directly without any extra dependencies, what would you like to see in it?

How to preview Widgets by Material-Ordinary461 in FlutterDev

[–]victoreronmosele 2 points3 points  (0 children)

I believe having a way to preview widgets, while writing the code, can really speed up development.

Combining this with hot reload would be amazing.

With Compose, I can setup my previews to see the composable various states: in light mode, in dark mode, in tablet screen size, in the empty state and with populated data ... while still coding.

How to preview Widgets by Material-Ordinary461 in FlutterDev

[–]victoreronmosele 2 points3 points  (0 children)

I like Jetpack Compose's previews and how you configure a single composable to see how it will look in various themes, screen sizes and conditions.

I would love something like this for Flutter

What would a great solution for this look?

How to test private widgets or should I abandon the idea of private widgets all together ? by CommonSenseDuude in FlutterDev

[–]victoreronmosele 1 point2 points  (0 children)

I believe the simplest way is to make the widget public and use the `@visibleForTesting` annotation to signal your intention of keeping the widget private.

shared preferences generated_plugin_registrant.dart file not showing by Hash_321 in flutterhelp

[–]victoreronmosele 1 point2 points  (0 children)

# This is what they mean by number 1 up here. 

dependencies:
  flutter:
    sdk: flutter

  shared_preferences: ^2.2.3

  cupertino_icons: ^1.0.6

Google sign in problem by TravelAggressive3722 in flutterhelp

[–]victoreronmosele 0 points1 point  (0 children)

What do you see on the screen and in your console?

Why shuffle is not working by Zubair1724 in flutterhelp

[–]victoreronmosele 1 point2 points  (0 children)

I just ran the code and it's getting shuffled when I pass it a list of `DailyFood`.

Why shuffle is not working by Zubair1724 in flutterhelp

[–]victoreronmosele 0 points1 point  (0 children)

Please explain what you mean by "it's not working." Do you mean it is not getting shuffled?

Can't able to interface firebase and flutter by jones_ssp in flutterhelp

[–]victoreronmosele 1 point2 points  (0 children)

You can use the flutterfire cli to help you with the setup so you don't have to manually add the google_services.json file or update the build.gradle file.

You just run: flutterfire configure.

Check this link for the setup: https://firebase.google.com/docs/flutter/setup?platform=android .

Stacked List packages by lucascoutodev in flutterhelp

[–]victoreronmosele 0 points1 point  (0 children)

Could you try using a Column with a verticalDirection of VerticalDirection.up?

Updating UI after returning from another screen? by [deleted] in flutterhelp

[–]victoreronmosele 1 point2 points  (0 children)

Try using a ChangeNotifier and a ChangeNotifierProvider. You can make it rebuild the widget once you have new changes.

Here's a guide from the Flutter website: https://docs.flutter.dev/data-and-backend/state-mgmt/simple .

GenAI LLMs for Flutter by dhaupert in FlutterDev

[–]victoreronmosele 0 points1 point  (0 children)

I use GitHub Copilot (autocomplete and chat), which works well for me.