surveysparrow_flutter_sdk 1.2.0-beta.10 surveysparrow_flutter_sdk: ^1.2.0-beta.10 copied to clipboard
SurveySparrow's flutter SDK lets you collect feedback at various touchpoints from your mobile app users. You can easily embed surveys in your mobile app with a few lines of code.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add surveysparrow_flutter_sdk
With Flutter:
$ flutter pub add surveysparrow_flutter_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
surveysparrow_flutter_sdk: ^1.2.0-beta.10
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:surveysparrow_flutter_sdk/components/common/bottomNavigation.dart';
import 'package:surveysparrow_flutter_sdk/components/common/cxEmailForm.dart';
import 'package:surveysparrow_flutter_sdk/components/common/feedBackQuestionColumn.dart';
import 'package:surveysparrow_flutter_sdk/components/common/footer.dart';
import 'package:surveysparrow_flutter_sdk/components/common/header.dart';
import 'package:surveysparrow_flutter_sdk/components/common/questionColumn.dart';
import 'package:surveysparrow_flutter_sdk/components/common/skipAndNext.dart';
import 'package:surveysparrow_flutter_sdk/components/loadingScreen.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/cesScore.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/csatFeedback.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/multichoice.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/npsFeedback.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/npsScore.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/opnion.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/phone.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/rating.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/text.dart';
import 'package:surveysparrow_flutter_sdk/components/questions/yesorno.dart';
import 'package:surveysparrow_flutter_sdk/components/thankyou.dart';
import 'package:surveysparrow_flutter_sdk/components/welcome.dart';
import 'package:surveysparrow_flutter_sdk/constants/survey.dart';
import 'package:surveysparrow_flutter_sdk/eui.dart';
import 'package:surveysparrow_flutter_sdk/helpers/answers.dart';
import 'package:surveysparrow_flutter_sdk/helpers/cx.dart';
import 'package:surveysparrow_flutter_sdk/helpers/question.dart';
import 'package:surveysparrow_flutter_sdk/helpers/survey.dart';
import 'package:surveysparrow_flutter_sdk/helpers/svg.dart';
import 'package:surveysparrow_flutter_sdk/helpers/theme.dart';
import 'package:surveysparrow_flutter_sdk/logics/displayLogic.dart';
import 'package:surveysparrow_flutter_sdk/logics/jumpLogic.dart';
import 'package:surveysparrow_flutter_sdk/logics/logicComparators.dart';
import 'package:surveysparrow_flutter_sdk/logics/logics.dart';
import 'package:surveysparrow_flutter_sdk/logics/mapLogicComparators.dart';
import 'package:surveysparrow_flutter_sdk/logics/thankYou.dart';
import 'package:surveysparrow_flutter_sdk/models/answer.dart';
import 'package:surveysparrow_flutter_sdk/models/customSurveyTheme.dart';
import 'package:surveysparrow_flutter_sdk/models/firstQuestionAnswer.dart';
import 'package:surveysparrow_flutter_sdk/models/theme.dart';
import 'package:surveysparrow_flutter_sdk/providers/answer_provider.dart';
import 'package:surveysparrow_flutter_sdk/providers/survey_provider.dart';
import 'package:surveysparrow_flutter_sdk/spotcheck/spot_check.dart';
import 'package:surveysparrow_flutter_sdk/spotcheck/spot_check_state.dart';
import 'package:surveysparrow_flutter_sdk/surveysparrow.dart';