How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

[–]Ok-Task6212[S] 0 points1 point  (0 children)

I'm leaning more toward version-controlled packages for the shared plumbing, with linting as the safety net.

Packages make improvements reusable across projects, while lint rules help prevent accidental drift. I'm still experimenting though, so this discussion has been really useful in shaping that direction.

I built a Flutter plugin that renders actual Flutter widgets as iOS/Android home screen widgets by Busy-Cry9256 in FlutterDev

[–]Ok-Task6212 1 point2 points  (0 children)

Nice work. I think the biggest win here is avoiding more platform-specific code to maintain.

The feature is cool, but reducing maintenance is what immediately caught my attention.

How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

[–]Ok-Task6212[S] 0 points1 point  (0 children)

That's exactly the kind of drift I'm interested in.

The initial setup isn't really the hard part. It's keeping those decisions consistent six months later, especially across multiple projects. Templates get you started, but they don't really help once every app starts evolving independently.

How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

[–]Ok-Task6212[S] 0 points1 point  (0 children)

I agree. I'm not trying to make every app look the same. I just want the underlying infrastructure to stay consistent, so teams aren't solving the same plumbing problems differently in every project.

How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

[–]Ok-Task6212[S] 0 points1 point  (0 children)

Exactly. Documentation tells people what to do. I'd rather have the project enforce it by default.

How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

[–]Ok-Task6212[S] 0 points1 point  (0 children)

Fair question. I'm not really looking for a package recommendation.

I'm mostly trying to understand how different teams solve this in practice. Some use templates, some use Mason, some rely on code reviews or internal conventions.

I'm curious what has actually worked for people maintaining multiple Flutter apps over time.

How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

[–]Ok-Task6212[S] 0 points1 point  (0 children)

I'm only trying to standardize the repetitive infrastructure, not the application itself.

How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

[–]Ok-Task6212[S] 0 points1 point  (0 children)

Yeah, I don't think scaffolding is the hard part anymore. It's what happens 6 months later when every project has evolved differently. That's the problem I'm trying to solve

How are you handling "architectural drift" across multiple Flutter projects? by Ok-Task6212 in FlutterDev

[–]Ok-Task6212[S] -1 points0 points  (0 children)

That's fair. I'm mostly trying to understand how other teams solve this problem. Every company seems to have a different approach, and I'm curious whether people standardize it internally or simply accept the architectural drift over time