Bits of Flutter

#Dart

2 posts

Layered is not Clean, even with interfaces everywhere

Architecture

Many people think that creating an abstract class, an implementation and injecting the abstraction is already applying the Dependency Inversion Principle. It's not. This post walks through the questions I keep hearing about Clean, layered and DIP, and pins down the one detail that makes the difference.

Read More

Clean UI with Widget Extensions

UI

Extension methods offer a powerful way to encapsulate common UI patterns, making your widget trees much cleaner and more readable. Instead of wrapping every widget, you can chain these extensions for a more fluent API.

Read More