Code Hub Journal

Practical guides for building better software.

Production-minded tutorials and field notes—from first setup to performance, testing, and release workflows.

Browse by technology

Explore topics

Jump straight to the stack or workflow you are working on.

Keep learning

Latest articles

Clear, tested notes for the problems developers meet in real projects.

Flutter

Flutter Flavors in Practice: dev/stg/prod with dart-define and CI

Flutter flavors let you run the same app in multiple environments—like dev, staging, and production—without risky manual edits. Done well, flavors…

Read article
Flutter

QLite in Flutter: When to Use It and How to Do It Right

SQLite in Flutter is the go-to relational database for apps that need structured queries, constraints, and transactions. This guide explains when…

Read article
Flutter

flutter_secure_storage in Flutter: Keeping Secrets Safe

flutter_secure_storage in Flutter is the go-to way to store small secrets like access tokens, refresh tokens, and encryption keys. It uses…

Read article
Flutter

shared_preferences in Flutter: Simple Settings Done Right

shared_preferences in Flutter is the simplest way to store small pieces of non-sensitive data—things like theme mode, onboarding flags, and the…

Read article
Flutter

Hive in Flutter: Local Database and Offline Caching

Hive in Flutter is a lightweight, fast key–value database that runs purely in Dart. It’s ideal for local data such as…

Read article
Flutter

Choosing Hive, shared_preferences, or flutter_secure_storage in Flutter

Hive, shared_preferences, and flutter_secure_storage cover three different needs in Flutter: fast key–value storage, simple user preferences, and secure secret storage. This…

Read article
Flutter

Flutter Error Handling Playbook: UX-Friendly Failures

Flutter error handling is about more than catching exceptions. It’s about turning failures into clear, calm user experiences while still giving…

Read article