zubairehman / flutter_boilerplate_project

A boilerplate project created in flutter using MobX and Provider.
http://zubairehman.surge.sh/
MIT License
2.26k stars 905 forks source link

CommonRespository get error #120

Closed fantasyrock2020 closed 2 years ago

fantasyrock2020 commented 2 years ago

I'm getting error in IOS (Android build success)

Screen Shot 2022-02-11 at 09 38 06

Here my service_locator

Screen Shot 2022-02-11 at 09 38 44

Here my_app

Screen Shot 2022-02-11 at 09 39 19

Please help me

zand98 commented 2 years ago

@fantasyrock2020

just remove Ios and Android folder and re initialise it, it reduced size app a lot for me, also it works for me for both.

you can do this following:

-Delete ios directory  
-Delete Android directory

for re initialise those directories you can do this following: flutter create .

fantasyrock2020 commented 2 years ago

Thank @zand-yasin I fixed it by change import link