TBLWebUnit class
A class that manages web unit functionality and integration
Constructors
-
TBLWebUnit({required GlobalKey<
State< key, required TBLTrackingManager tblTrackingManager, required dynamic webViewController, required TBLWebListener tblWebListener, ScrollController? scrollController})StatefulWidget> > - Creates a new TBLWebUnit instance with the specified parameters.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController → ScrollController?
-
final
- uniqueUnitId → String
-
Parent page and identifier for observer pattern
final
-
unitExtraProperties
→ Map<
String, TBLExtraPropertyWithLevel> -
no setter
Methods
-
clear(
) → dynamic - Clears the web unit's resources and unregisters observers
-
dispose(
) → dynamic -
Dispose method to clean up observers
@deprecated Use
clear()instead. -
fetchContent(
) → Future< void> - Fetches content for the web unit
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setUnitExtraProps(
HashMap< String, String> extraProperties) → void - Set extra properties for this specific unit. Stores locally with unit-level tag (always overwrites page/global)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited