PalSdk class

Constructors

PalSdk({required OverlayHelper overlayHelper})
PalSdk.fromKey({required GlobalKey<NavigatorState> navigatorKey})

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
showExpandedVideoAsset({required BuildContext context, required String videoAsset, required String userName, required String companyTitle, required Function onVideoEndAction, required Function close, required bool animateOnVideoEnd, Function? onSkip, String? avatarUrl, Widget? child}) Future<void>
showSingleChoiceSurvey({required BuildContext context, required String videoAsset, required String userName, required String companyTitle, String? avatarUrl, required String question, required List<Choice> choices, required OnTapChoice onTapChoice, required Function onVideoEndAction, Function? onExpand, Function? onClose, Function? onSkip}) Future<void>
showVideoAsset({required BuildContext context, required String videoAsset, required String userName, required String companyTitle, required Function onVideoEndAction, required bool animateOnVideoEnd, Function? onClose, Function? onExpand, String? avatarUrl, Widget? child, Function? onSkip}) Future<void>
showVideoOnly({required BuildContext context, required String videoUrl, required String minVideoUrl, required String userName, required String companyTitle, String? avatarUrl, Function? onExpand, Function? onVideoEnd, Function? onSkip}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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