growerp_website library
Classes
- Assessment
- Assessment model representing a single assessment/survey
- AssessmentBloc
- AssessmentConfirmationScreen
- Confirmation screen shown after assessment completion Informs user that results will be sent via email
- AssessmentCreate
- AssessmentDelete
- AssessmentDetailScreen
- AssessmentDetailScreenState
- AssessmentEvent
- AssessmentFetch
- AssessmentFetchAll
- AssessmentFetchLeads
- AssessmentFetchQuestionOptions
- AssessmentFetchQuestions
- AssessmentFetchResults
- AssessmentFetchThresholds
- AssessmentFlowScreen
- Assessment Flow Container Manages the three-step assessment process and state transitions
- AssessmentLeadsScreen
- Screen to display leads (assessment respondents) and their scores in a dialog
- AssessmentLeadsScreenContent
- Simple content widget for displaying leads in a dialog
- AssessmentList
- List screen for Assessments
- AssessmentListState
- AssessmentQuestion
- Assessment question model
- AssessmentQuestionOption
- Answer option for a multiple choice question
- AssessmentQuestionOptions
- List wrapper for AssessmentQuestionOption objects
- AssessmentQuestions
- List wrapper for AssessmentQuestion objects
- AssessmentQuestionsScreen
- Step 2: Assessment Questions Screen Displays assessment questions and collects answers Questions are already loaded by parent via AssessmentFetchAll
- AssessmentResult
- Assessment result after submission by respondent
- AssessmentResults
- List wrapper for AssessmentResult objects
- AssessmentResultsScreen
- Screen for displaying assessment results after completion
- Assessments
- List wrapper for Assessment objects
- AssessmentSearchRequested
- AssessmentState
- AssessmentSubmit
- AssessmentUpdate
- ContentBloc
- ContentEvent
- ContentFetch
- ContentState
- ContentUpdate
- CredibilityBloc
- CredibilityEvent
- CredibilityInfo
- Credibility Info model
- CredibilityInfoCreate
- CredibilityInfoDelete
- CredibilityInfoDetailScreen
- CredibilityInfoDetailScreenState
- CredibilityInfoListScreen
- CredibilityInfoListScreenState
- CredibilityInfoUpdate
- CredibilityLoad
- CredibilityReorder
- CredibilityState
- CredibilityStatistic
- Credibility Statistic model (supporting data points)
- CredibilityStatisticCreate
- CredibilityStatisticUpdate
- GenerateLandingPageDialog
- GenerateLandingPageRequested
- GenerationCancelled
- LandingPage
- Landing Page model representing a single landing page
- LandingPageAssessmentFlowScreen
- Integrated landing page to assessment flow screen
- LandingPageBloc
- LandingPageClear
- LandingPageCreate
- LandingPageDelete
- LandingPageDetailScreen
- LandingPageDetailScreenState
- LandingPageDialog
- LandingPageDialogState
- LandingPageEvent
- LandingPageFetch
- LandingPageGenerationBloc
- LandingPageGenerationEvent
- LandingPageGenerationState
- LandingPageList
- List screen for Landing Pages
- LandingPageListState
- LandingPageLoad
- LandingPages
- List wrapper for LandingPage objects
- LandingPageSearchRequested
- LandingPageSection
- Landing Page Section model
- LandingPageState
- LandingPageUpdate
- LeadCaptureScreen
- Screen to capture lead information (name and email) before assessment
- PageSectionBloc
- PageSectionClear
- PageSectionCreate
- PageSectionDelete
- PageSectionDetailScreen
- PageSectionDetailScreenState
- PageSectionEvent
- PageSectionList
- PageSectionListState
- PageSectionLoad
- PageSectionState
- PageSectionUpdate
- PublicLandingPageScreen
- QuestionBloc
- QuestionClear
- QuestionCreate
- QuestionDelete
- QuestionDetailScreen
- QuestionDetailScreenState
- QuestionEvent
- QuestionListScreen
- QuestionListScreenState
- QuestionLoad
- QuestionState
- QuestionUpdate
- ScoringThreshold
- Score threshold that determines assessment outcome
- ScoringThresholds
- List wrapper for ScoringThreshold objects
- WebsiteBloc
- WebsiteContent
- WebsiteContentDialog
- WebsiteContentState
- WebsiteDialog
- WebsiteDialogState
- WebsiteEvent
- WebsiteFetch
- WebsiteFormBloc
- WebsiteFormDelete
- WebsiteFormDialog
- WebsiteFormDialogState
- WebsiteFormEvent
- WebsiteFormFetch
- WebsiteFormList
-
List of website lead-capture forms; embed a form on a content page with
<div data-growerp-form="FORM_ID"></div>. - WebsiteFormListState
- WebsiteFormState
- WebsiteFormUpdate
- WebsiteLocalizations
-
Callers can lookup localized strings with an instance of WebsiteLocalizations
returned by
WebsiteLocalizations.of(context). - WebsiteObsUpload
- WebsiteState
- WebsiteUpdate
Enums
Constants
- credibilityInfo → const CredibilityInfo
- Credibility info fixture with default statistics
-
credibilityStatistics
→ const List<
CredibilityStatistic> - Credibility statistics fixtures bundled with credibility info
-
landingPageSections
→ const List<
LandingPageSection> - Landing page section fixtures used by landing page integration tests
-
pageSectionTypes
→ const List<
String> - updatedCredibilityInfo → const CredibilityInfo
- Updated credibility info fixture
-
updatedCredibilityStatistics
→ const List<
CredibilityStatistic> - Updated credibility statistics fixtures
-
updatedLandingPageSections
→ const List<
LandingPageSection> - Updated sections fixtures for edit scenarios
-
websiteFormFieldTypes
→ const List<
String>
Properties
-
assessmentQuestions
↔ List<
AssessmentQuestion> -
Assessment questions test data
Based on GeneralLandingPageAssessmentImport.xml
getter/setter pair
-
assessments
↔ List<
Assessment> -
Assessment test data
getter/setter pair
-
landingPages
↔ List<
LandingPage> -
Landing Page test data
getter/setter pair
-
updatedAssessments
↔ List<
Assessment> -
Updated assessments for testing
getter/setter pair
-
updatedLandingPages
↔ List<
LandingPage> -
Updated landing pages for testing
getter/setter pair
Functions
-
assessmentDroppable<
E> (Duration duration) → EventTransformer< E> -
assessmentSearchDebounce(
) → EventTransformer< AssessmentSearchRequested> -
getAnswerOptionListColumns(
BuildContext context) → List< StyledColumn> - Returns column definitions for answer option list based on device type
-
getAnswerOptionListRow(
{required BuildContext context, required int index, required TextEditingController textController, required TextEditingController scoreController, required VoidCallback onDelete}) → List< Widget> - Returns row data for answer option list
-
getQuestionListColumns(
BuildContext context) → List< StyledColumn> - Returns column definitions for question list based on device type
-
getQuestionListRow(
{required BuildContext context, required AssessmentQuestion question, required int index, required QuestionBloc bloc}) → List< Widget> - Returns row data for question list
-
getWebsiteBlocProviders(
RestClient restClient, [String applicationId = 'AppAdmin']) → List< BlocProvider< StateStreamableSource< >Object?> > -
getWebsiteWidgets(
) → Map< String, GrowerpWidgetBuilder> - Returns widget mappings for the website package
-
getWebsiteWidgetsWithMetadata(
) → List< WidgetMetadata> - Returns widget metadata with icons for the website package
-
landingPageSearchDebounce(
) → EventTransformer< LandingPageSearchRequested> -
lookupWebsiteLocalizations(
Locale locale) → WebsiteLocalizations -
translateContentBlocMessage(
String? messageKey, WebsiteLocalizations localizations) → String - Translate Content BLoC message keys to localized strings
-
translateWebsiteBlocMessage(
String? messageKey, WebsiteLocalizations localizations) → String - Translate Website BLoC message keys to localized strings
-
websiteContentDroppable<
E> (Duration duration) → EventTransformer< E> -
websiteDroppable<
E> (Duration duration) → EventTransformer< E>