Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ViewModel resides in the Logic layer #11432

Open
1 task
KyoheiG3 opened this issue Nov 23, 2024 · 0 comments
Open
1 task

The ViewModel resides in the Logic layer #11432

KyoheiG3 opened this issue Nov 23, 2024 · 0 comments
Assignees
Labels
from.page-issue Reported in a reader-filed concern

Comments

@KyoheiG3
Copy link

Page URL

https://docs.flutter.dev/app-architecture/guide#optional-domain-layer

Page source

https://github.com/flutter/website/tree/main/src/content/app-architecture/guide.md#optional-domain-layer

Describe the problem

In the image, there are ViewModel in both the UI layer and the Logic layer, but isn't the Logic layer actually a UseCase?

Expected fix

The ViewModel of the Logic layer is a UseCase.

Additional context

In the image at the URL below, the Logic layer is labeled UseCase instead of ViewModel.
https://docs.flutter.dev/app-architecture/guide#data-access-with-use-cases

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.
@KyoheiG3 KyoheiG3 added the from.page-issue Reported in a reader-filed concern label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from.page-issue Reported in a reader-filed concern
Projects
None yet
Development

No branches or pull requests

2 participants