showSurveyBottomSheet method
Future<bool>
showSurveyBottomSheet(
- BuildContext context, {
- required String appId,
- required String linkOrToken,
- Map<
String, String> ? options,
override
Implementation
@override
Future<bool> showSurveyBottomSheet(
BuildContext context, {
required String appId,
required String linkOrToken,
Map<String, String>? options,
}) async {
String url = "$_baseUrl$linkOrToken/${getParams(options)}";
showModalBottomSheet(
context: context,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(top: Radius.circular(20)),
),
builder: (context) {
return CustomerPulseWebView(url: url);
},
);
return true;
}