user_feed library

Classes

FeedActionButton
FeedActionButton is a component which when passed in one action, returns a button with the contents in the actions
FeedComponent
FeedItemBody
FeedItemBodyState
FeedItemCommentCard
FeedItemComponent
FeedItemTitleBar
the top bar of the feed item
FeedLoadingShimmer
FeedNoBorderButton
FeedNudge
FeedNudge takes in a Map<String, dynamic> nudge nudge, in form of a JSON, and returns a nudge card with all the actions provided
FeedPrimaryButton
FeedResponsePayload
FeedSecondaryButton
GetFeedData
NudgeCarousel
NudgeCarousel is a carousel that receives a list of nudges and displays them in the form of cards

Extensions

ActionTypeEx on ActionType
ActionTypeEx extends ActionType enum to get the values as strings
ChannelEx on Channel
ChannelEx extends Channel enum to get the values as strings
FlavourEx on Flavour
FlavourEx extends Flavour enum to get the values as strings
HandlingEx on Handling
HandlingEx extends Handling enum to get the values as strings
LinkTypeEx on LinkType
LinkTypeEx extends LinkType enum to get the values as strings
StatusEx on Status
StatusEx extends Status enum to get the values as strings
TextTypeEx on TextType
StatusEx extends Status enum to get the values as strings
VisibilityEx on Visibility
VisibilityEx extends Visibility enum to get the values as strings

Constants

addInsurance → const String
buyInsurance → const String
coverAction → const String
coverCallToActionBody → const String
coverCallToActionTitle → const String
defaultInitialFeedVideoUrl → const String
documentString → const String
fallbackPdfUrl → const String
fallbackUrl → const String
imageString → const String
kAddInsurance → const String
kAddNHIF → const String
nudge actions
kAddPatient → const String
kBuyInsurance → const String
kCompleteIndividualCoachKYC → const String
kCompleteIndividualNutritionKYC → const String
kCompleteIndividualPharmaceuticalKYC → const String
kCompleteIndividualPractitionerKYC → const String
kCompleteIndividualProviderKYC → const String
kCompleteIndividualRiderKYC → const String
nudge actions
kCompleteOrganizationCoachKYC → const String
kCompleteOrganizationNutritionKYC → const String
kCompleteOrganizationPharmaceuticalKYC → const String
kCompleteOrganizationPractitionerKYC → const String
kCompleteOrganizationProviderKYC → const String
kCompleteOrganizationRiderKYC → const String
kCompleteProfile → const String
kGetCoaching → const String
kGetConsultation → const String
kGetHelp → const String
kGetMedicine → const String
CONSUMER
kGetTest → const String
kHideItem → const String
kLongSnackbarDuration → const int
kMarkSelectedItem → const String
used to mark the current feed items as active
kPartnerAccountSetup → const String
kPinItem → const String
kResolveItem → const String
kSearchPatient → const String
PROFESSIONAL feed global actions
kShortSnackbarDuration → const int
kVerifyEmail → const String
SHARED actions across PRO and CONSUMER item actions
kViewCover → const String
primaryActionType → const String
secondaryActionType → const String
viewCover → const String
viewCoverCallToActionBody → const String

Properties

allConsumerActions List<String>
a list of all consumer actions
getter/setter pair
allProActions List<String>
a list of all professional actions
getter/setter pair