Plotline class

Constructors

Plotline.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

shouldCheckForParentWidget bool
getter/setter pair
shouldEnableDebug bool
getter/setter pair
shouldUseFlutterTouch bool
getter/setter pair
visibilityMap Map<String, dynamic>
getter/setter pair

Static Methods

areViewsPresent(String listenerId, dynamic searchElements, double pixRatio, int screenWidth, int screenHeight) → void
debug(bool enableDebug) → void
extractKeyValue(Key? key) String?
findViewByKey(String key, BuildContext context) BuildContext?
getAllElements(String listenerId, double pixRatio, int screenWidth, int screenHeight) → void
getFeatureFlag(String featureKey) Future<String?>
getFeatureFlagPayload(String featureKey) Future<String?>
getTopmostContext(BuildContext context) BuildContext
getViewPosition(String listenerId, String clientElementId, double pixelRatio, int screenWidth, int screenHeight) → void
identify(Map<String, dynamic> attributes) → void
init(String apiKey, [String userId = '', String endpoint = '']) → void
isFeatureEnabled(String featureKey) Future<bool>
isWithinBounds(BuildContext element, Offset position, double pixRatio, int screenWidth, int screenHeight) bool
logout() → void
plotlineDebugLog(String message) → void
recurseKey(BuildContext element, double pixRatio, int screenWidth, int screenHeight) List<Map<String, dynamic>>
setColor(Map<String, String> colors) → void
setLocale(String locale) → void
setPlotlineEventsListener(dynamic callbackFunc(String eventName, Map<String, dynamic> properties)) Future<void>
setPlotlineRedirectListener(dynamic callbackFunc(Map<String, dynamic> properties)) Future<void>
setShouldCheckForParentWidget(bool shouldCheckForParentWidget) → void
setShouldDisableBackPressedListener(bool shouldDisableBackPressedListener) → void
setShouldDisablePlotline(bool shouldDisablePlotline) → void
setShouldEnableFlutterWidgetTouch(bool enableFlutterTouch) → void
showMockStudy() → void
showStory(String storyId, String slideId) → void
track(String eventName, {Map<String, dynamic> properties = const {}}) → void
trackPage(String pageName, BuildContext context) → void

Constants

plotlineChannel → const MethodChannel