DEV Community

Discussion on: Simple Login Flow in Flutter, then Firebase - Part One

Collapse
 
robmagario profile image
RH • Edited

When I ran the code above with the newest version of Provider (4.1.3), I am getting the following error.

Error: A value of type 'AuthService' can't be assigned to a variable of type 'Widget'.

How can I fix this error?

Collapse
 
aaronksaunders profile image
Aaron K Saunders • Edited

take a look at this updated code - github.com/aaronksaunders/flutter_...

Collapse
 
robmagario profile image
RH

Thanks a lot!