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,
|
controller: mzansiSearchController,
|
||||||
hintText: "Search Mzansi",
|
hintText: "Search Mzansi",
|
||||||
prefixIcon: Icons.search,
|
prefixIcon: Icons.search,
|
||||||
prefixAltIcon: userSearch
|
prefixAltIcon: userSearch ? Icons.person : Icons.business,
|
||||||
? MihIcons.personalProfile
|
|
||||||
: MihIcons.businessProfile,
|
|
||||||
suffixTools: [
|
suffixTools: [
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue