flutterfirebasedart

Flutter deployed web firebase hosting


I have Published my flutter web firebase hosting, i have got this error on deployed web while i am adding data to the firebase:

minified:IW not found you need to call get.put(minified:IW()) or Get.lazyPut(() => ProductController());

I am trying to add data to my firebase database, on my deployed website


Solution

  • If you need the controller immediately use Get.put() instead of Get.lazyPut().

    like Get.lazyPut(() => ProductController()); into Get.put(ProductController());

    if still getting same issue than edit question and add some code so it's easy to understand you problem