NEW: MIH Profile Links pt1
This commit is contained in:
parent
b945a34ad4
commit
eea3248525
10 changed files with 1645 additions and 658 deletions
|
|
@ -4,6 +4,7 @@ import 'package:mzansi_innovation_hub/mih_objects/app_user.dart';
|
|||
import 'package:mzansi_innovation_hub/mih_objects/business.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_objects/business_employee.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_objects/business_user.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_objects/profile_link.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_objects/user_consent.dart';
|
||||
|
||||
class MzansiProfileProvider extends ChangeNotifier {
|
||||
|
|
@ -23,6 +24,7 @@ class MzansiProfileProvider extends ChangeNotifier {
|
|||
List<BusinessEmployee>? employeeList;
|
||||
List<AppUser> userSearchResults = [];
|
||||
bool hideBusinessUserDetails;
|
||||
List<ProfileLink> personalLinks = [];
|
||||
|
||||
MzansiProfileProvider({
|
||||
this.personalHome = true,
|
||||
|
|
@ -149,4 +151,9 @@ class MzansiProfileProvider extends ChangeNotifier {
|
|||
this.userSearchResults = userSearchResults;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void setPersonalLinks({required List<ProfileLink> personalLinks}) {
|
||||
this.personalLinks = personalLinks;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue