skip to Main Content

Flutter – Null check operator used on a null value for userProvider

I am new to Flutter. It is giving me an error saying that I have used null check operator on a null value Links for reference: https://github.com/ahkharsha/pregAthI/blob/main/lib/widgets/community-chat/community_list_drawer.dart https://github.com/ahkharsha/pregAthI/blob/main/lib/auth/auth_controller.dart My code: class CommunityDrawer extends ConsumerWidget { const CommunityDrawer({super.key}); @override Widget build(BuildContext…

VIEW QUESTION
Back To Top
Search