forked from yaso_meth/mih-project
add defualt text
This commit is contained in:
@@ -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],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user