dart

5 stories and discussions about dart, aggregated from every source we track.

1.

Why code-generated mocks ruin developer velocity in modern Dart and Flutter, and how switching to mocktail restores true zero-friction TDD.

11 points•randalschwartz•10 days ago•0 comments
2.

The hidden mechanical flaw in Flutter's InheritedWidget that forced the creation of Riverpod, why escaping the widget tree created its own architectural taxes, and how push-pull signals finally resolve the tension.

10 points•randalschwartz•3 days ago•1 comment
3.

How to bypass tedious SendPort/ReceivePort plumbing and share synchronized in-memory state across Dart Isolates using the zero-dependency shared_map package.

10 points•randalschwartz•10 days ago•0 comments
4.

How combining Dart's Enhanced Enums with constructor tearoffs turns simple enum values into self-instantiating, type-safe polymorphic factories.

9 points•randalschwartz•10 days ago•2 comments
5.

The short version One Note model written four ways, against a shared contract of sixteen...

6 points•marwamejri•9 days ago•0 comments

Related topics