add defualt text
This commit is contained in:
parent
5d4c36626b
commit
bfb175aa60
1 changed files with 23 additions and 4 deletions
|
|
@ -29,10 +29,29 @@ class _BuildUserSearchResultsListState
|
|||
);
|
||||
},
|
||||
itemBuilder: (context, index) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 15.0),
|
||||
child: MihPersonalProfilePreview(
|
||||
user: widget.userList[index],
|
||||
return Material(
|
||||
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
Navigator.of(context).pushNamed(
|
||||
'/mzansi-profile/view',
|
||||
arguments: widget.userList[index],
|
||||
);
|
||||
},
|
||||
splashColor: MzanziInnovationHub.of(context)!
|
||||
.theme
|
||||
.secondaryColor()
|
||||
.withOpacity(0.2),
|
||||
borderRadius: BorderRadius.circular(15),
|
||||
child: Padding(
|
||||
padding: EdgeInsetsGeometry.symmetric(
|
||||
// vertical: 5,
|
||||
horizontal: 25,
|
||||
),
|
||||
child: MihPersonalProfilePreview(
|
||||
user: widget.userList[index],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue