MotorFlutterUI extension Null safety

MotorFlutterUI

This extension is used to provide UI related functions to the MotorFlutter class.

on

Methods

showRegisterModal({ErrorCallback? onError}) Future<CreateAccountResponse?>
Display a modal dialog above the current application content which walks the user through the process of registering a new account. An optional onError callback can be used to handle errors that occur during the registration process. Returns CreateAccountResponse if the user successfully creates an account, otherwise returns null.