MatrixWidget class

Constructors

MatrixWidget({required Room room, String? creatorUserId, Map<String, dynamic>? data = const {}, String? id, required String? name, required String type, required String url, bool waitForIframeLoad = false})
MatrixWidget.custom(Room room, String name, Uri url)
creates an m.custom MatrixWidget
factory
MatrixWidget.etherpad(Room room, String name, Uri url)
creates an m.etherpad MatrixWidget
factory
MatrixWidget.fromJson(Map<String, dynamic> json, Room room)
factory
MatrixWidget.jitsi(Room room, String name, Uri url, {bool isAudioOnly = false})
creates an m.jitsi MatrixWidget
factory
MatrixWidget.video(Room room, String name, Uri url)
creates an m.video MatrixWidget
factory

Properties

creatorUserId String?
final
data Map<String, dynamic>?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
name String?
final
room Room
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final
url String
use buildWidgetUrl instead
final
waitForIframeLoad bool
final

Methods

buildWidgetUrl() Future<Uri>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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