Skip to content

Instantly share code, notes, and snippets.

@YuheiNakasaka
Created March 21, 2022 09:22
Show Gist options
  • Save YuheiNakasaka/6ee13d345d52ff875384bfe59bba1bac to your computer and use it in GitHub Desktop.
Save YuheiNakasaka/6ee13d345d52ff875384bfe59bba1bac to your computer and use it in GitHub Desktop.
flowchart LR;
  subgraph Domain
    subgraph "Entiry(freezed)"
    end
    subgraph Provider1
      subgraph Service
      end
      subgraph Repository
      end
    end
  end
  subgraph Application
    subgraph "PageState(freezed)"
    end
    subgraph Provider2
      subgraph "PageStore(StateNotifier)"
      end
    end
  end
  subgraph Infrastructure
    subgraph Provider3
      subgraph API
      end
      subgraph LocalDB
      end
      subgraph Firestore
      end
    end
  end
  subgraph UI
    Widgets
  end
  Providers{Providers} --> |"DI(riverpod)"|Provider1;
  Providers{Providers} --> |"DI(riverpod)"|Provider2;
  Providers{Providers} --> |"DI(riverpod)"|Provider3;
  UI -->|"watch/read/listen(riverpod)"|Providers;
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment