River_pod: Recommended file structure or architecture

Created on 21 Sep 2020  路  4Comments  路  Source: rrousselGit/river_pod

What is the recommended architecture or folder structure for riverpod?

Most helpful comment

I don't believe in recommending a specific folder architecture.

For me:

  • that changes over time
  • depends on your team

Do what you like.

At least, as opposed to with provider, you can place your providers absolutely everywhere, so you have a lot more freedom.

All 4 comments

@campanagerald I would say the same as Provider. But you can use any structure, it up to you. Until you can read your code.

I saw this in medium https://medium.com/@mxiskw/flutter-pragmatic-architecture-using-riverpod-123ae11a8267

I don't believe in recommending a specific folder architecture.

For me:

  • that changes over time
  • depends on your team

Do what you like.

At least, as opposed to with provider, you can place your providers absolutely everywhere, so you have a lot more freedom.

Closing as there's nothing specific to Riverpod here 馃槃

Was this page helpful?
0 / 5 - 0 ratings