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.