features/profile/profile library

Classes

CompanyInformationContent
Displays the contents of the company information page, based on the given company info.
CompanyInformationPage
Page that displays information about the logged-in dealer's company.
DealerCompany
Represents the company or organization of the dealer user
Profile
Represents a dealer user's profile, with data related to the profile page.
ProfileContents
Contents of the profile page. Displays a list of profile-related options and links
ProfilePage
Page that displays profile options and information, as well as links to other Kohler resources.
ResourceLinksContents
Contents of the resource links page. Displays links to other Kohler resources.
ResourceLinksPage
Page that displays links to other Kohler resources.
TeamMember
Represents a team member within the dealer's company
TermsAndConditionsPage
Page that displays the legal terms and conditions within the profile screen
ViewTeamContent
Displays the contents of the "View Team" page based on the given list of team members.
ViewTeamPage
Page that displays the dealer's team within the company

Enums

TeamRole
Role of a team member within an company

Properties

companyProvider Provider<AsyncValue<DealerCompany>>
final
kCompanyUpdateUrl Uri
final
kContactUrl Uri
final
meApiProvider FutureProvider<DealerUserDTO>
final
orgUsersApiProvider FutureProvider<List<DealerUserDTO>>
final
profileProvider Provider<AsyncValue<Profile>>
final
profileTitleKey UniqueKey
final
teamMembersProvider Provider<AsyncValue<List<TeamMember>>>
final

Functions

dtoToCompany(DealerOrgDTO? dealerOrg) DealerCompany
dtoToProfile(DealerUserDTO dealer, AuthUser<OAuthToken>? user) Profile
dtoToRole(RoleDTO? roleDto) TeamRole
dtoToTeamMembers(List<DealerUserDTO> users) List<TeamMember>
getAppStoreUri() Uri?
Returns the Uri for the app store on the current platform.
refreshCompany(BuildContext context) Future<void>
refreshProfile(BuildContext context) Future<void>
refreshTeamMembers(BuildContext context) Future<void>