motor_flutter library Null safety

Motor Flutter

Flutter bindings for the All-in-one Motor node by Sonr. Seamless integration with the Sonr P2P network and blockchain - all while providing a Wallet interface which doesnt require a Seed phrase.

Classes

Log
It's a class that logs messages
MotorFlutter
MotorFlutter
NebulaBorders
This class is used to define Border properties for the nebula theme.
NebulaColors
This class is used to define Color properties for the nebula theme.
NebulaDimensions
This class is used to define dimension or EdgeInsets properties for the nebula theme.
NebulaGradients
This class is used to define LinearGradient properties for the nebula theme.
NebulaRadii
This class is used to define radii properties for the nebula theme.
NebulaShadows
This class is used to define BoxShadow properties for the nebula theme.
NebulaTextStyles
This class is used to define TextStyle properties for the nebula theme.
RegisterController
RegisterModalPage
SonrRegisterButton
The Sonr Register Button provides a Widget that can be used to trigger a dialog which walks the user through the process of registering a new account. Underneath this method calls MotorFlutter.createAccount.

Extensions

CreateAccountWithKeysResponseExt
CreateAccountWithKeysResponseExt
MotorFlutterHelpers
MotorFlutterUI
MotorFlutterUI
SchemaDefinitionExt
SchemaDefinitionExt
SchemaDocumentExt
SchemaDocumentExt
SchemaDocumentValueExt
SchemaDocumentValueExt

Constants

kMotorKeychainDeviceSharedKey → const String
'SNR_MTR_DSC_KEY'
kMotorKeychainPwdSecuredKey → const String
'SNR_MTR_PSK_KEY'
kMotorPlatformChannelAddr → const String
"io.sonr.motor/MethodChannel"
kMotorTempStorageName → const String
"motor_flutter"

Properties

isDebugMode bool
read-only
loadingQuotes List<String>
final

Enums

ButtonVariant
This enum specifies the theme that the button should use. The default theme is ButtonVariant.blue.
RegisterState

Typedefs

BoolCallback = void Function(bool)
ErrorCallback = void Function(String)
ExceptionCallback = void Function(Exception)
HandleKeysCallback = void Function(List<int> deviceSharedKey, List<int> passwordSecuredKey)
ResponseCallback<T> = void Function(T?)
SchemaDocumentBuilder = Widget Function(BuildContext context, SchemaDocumentValue field)
VoidCallback = void Function()