PolkawalletPluginBase class abstract

Implementers

Constructors

PolkawalletPluginBase()

Properties

basic PluginBasicData
A plugin's basic info, including: name, primaryColor and icons.
final
hashCode int
The hash code for this object.
no setterinherited
nodeList List<NetworkParams>
Plugin should define a list of node to connect for users of Polkawallet App.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenIcons Map<String, Widget>
Plugin should provide tokenIcons for display in Assets page of Polkawallet App.
final

Methods

getNavItems(BuildContext context, Keyring keyring) List<HomeNavItem>
The getNavItems method returns a list of HomeNavItem which defines the Widget to be used in home page of polkawallet App.
getRoutes(Keyring keyring) Map<String, WidgetBuilder>
App will add plugin's pages with custom routes.
loadJSCode() Future<String>?
App will inject plugin's jsCode into webview to connect.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited