NUIMiniProgramController class
Mini-program controller
Constructors
-
NUIMiniProgramController({List<
NUIMiniProgramChannel> ? channels})
Properties
-
channels
→ List<
NUIMiniProgramChannel> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webController → WebViewControllerPlus
-
no setter
Methods
-
canMiniProgramPop(
) → Future< bool> - Checking if the mini-app can pop/close
-
exchangeMessage(
dynamic input) → Future - Sending custom message
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postMessage(
NUIMiniProgramMessage message) → Future< NUIMiniProgramMessage?> - Posting a message to the mini-app
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited