๐Ÿ†˜ [Help] How to Use a Custom Action's Boolean Return Value for Conditional Actions?

Actions & Logic

Hi FlutterFlow Community! ๐Ÿ‘‹

I'm working on a FlutterFlow app that includes a custom action written in Dart. The function returns a bool (true or false), like this:

dart

Future<bool> offlineLoginCheck(String username, String password) async

{ // ... do some local DB check return true; // or false }

โœ… The custom action works โ€” it returns true if login is valid, and false otherwise.

What have you tried so far?

โ“ My Question:

How can I use that returned Boolean value to:

  1. Set a page/app variable, or

  2. Add conditional actions (like navigate to Dashboard only if the login was successful)?

๐Ÿ” What Iโ€™ve Tried:

  • Added the custom action inside the Action Flow (on a button press).

  • I see the action output, but not sure how to access that Boolean return in conditions or set variable steps.

Did you check FlutterFlow's Documentation for this topic?
No
3