Skip to content

Edit Profile and Owner's Info tab not working (Provider State Management) #79

Closed
@Mohitmadhav

Description

@Mohitmadhav

Description

  • The Edit Profile Page isn't opening. The error is as shown below.
  • Same error occurs in the book description page when tapping on Owner's Info
  • Try it in your local system first

Screenshots

image
image

Steps to Reproduce

This has occurred because the provider hasn't been registered in main.dart.

  1. So either replace the Provider with Stream Provider (Initialized in home.dart)
  2. OR Extend the UserData function with ChangeNotifiers with relevant functions(If required)
  3. User Model : lib/providers/user.dart
  4. Book Description page: lib/screens/book_desciption.dart

Additional data

What better solution can be there to fix this issue? Go through the entire codebase for more clarity.

Metadata

Metadata

Assignees

Labels

HacktoberfestFor Hacktoberfest 2021bugSomething isn't workinggood first issuegood issue for first-time contributorshigh-prioritySomething that has a high prioritymediummedium level issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions