Logo-amall

I have made a mock provider but in my widget the actual provider is still a dependency Is it possible to switch this ```Provider.of(context);``` to the mock provider?

Last active a month ago

3 replies

7 views

  • MA

    I have made a mock provider but in my widget the actual provider is still a dependency
    Is it possible to switch this Provider.of(context); to the mock provider?

  • NA

    Have you wrapped the Widget with the mock provider?

  • MA

    Yes I have but the widget in itself has the original provider in imports

Last active a month ago

3 replies

7 views