successCallback property
Callback function to be called on successful login The callback function takes a Map<String, dynamic> as an argument which contains the user data Use this to navigate to the next screen
Implementation
final Function(Map<String, dynamic> userData) successCallback;