Change Search Icon when person or business
This commit is contained in:
parent
91e88ae8a7
commit
f2486cf0f7
1 changed files with 1 additions and 3 deletions
|
|
@ -63,9 +63,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
|
|||
controller: mzansiSearchController,
|
||||
hintText: "Search Mzansi",
|
||||
prefixIcon: Icons.search,
|
||||
prefixAltIcon: userSearch
|
||||
? MihIcons.personalProfile
|
||||
: MihIcons.businessProfile,
|
||||
prefixAltIcon: userSearch ? Icons.person : Icons.business,
|
||||
suffixTools: [
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue