Download size directly affects store conversion rates. We look at finding what's taking up space with --analyze-size, and shrinking your Flutter app with deferred imports and tree-shaking.
Automatic analysis, tests and builds on every push... We set up a CI/CD pipeline for a Flutter project from scratch with GitHub Actions: caching, branch triggers, and safely storing signing credentials included.
Presentation, Domain and Data layers... We look at how to build a testable, maintainable Flutter project by separating business logic from the UI and the data source with the Repository pattern and UseCases.
Do you find out when your app crashes in production? We look at global error capture with Firebase Crashlytics, sending errors manually, and the extra capabilities Sentry brings.
Bar charts, line charts and touch tooltips... We look at how to visualize your data with the fl_chart package, performant and animated, without writing a CustomPainter from scratch.
We cover taking a photo with the camera, picking single or multiple images from the gallery, displaying the selected file, and limiting its size with image_picker.
Add fingerprint and face recognition sign-in with the local_auth package. We cover checking device support, the authenticate() call, and what biometrics actually guarantees.
We look at testing widgets with testWidgets, WidgetTester and find, plus end-to-end verification on a real device with golden tests and integration_test, through real examples.
What do you do when there's no ready-made package? We look at wiring your Dart code to Android (Kotlin) and iOS (Swift) with MethodChannel, EventChannel, and proper error handling.
Listen to Firestore data live with StreamBuilder and collection.snapshots(). We look at combining streams with queries, offline behavior, and common pitfalls.
We walk through requesting permission, catching messages in the foreground/background/terminated states, and showing local notifications with firebase_messaging.
Image.network re-downloads the same picture every time. We look at disk and memory caching with cached_network_image, placeholders, and custom cache management.
Can your app be used with a screen reader? We cover accessibility in Flutter through the Semantics widget, the label/hint/value parameters, and touch target sizing.
For what ListView and GridView can't solve on their own: expanding and collapsing app bars, sticky headers and mixed scrollable areas. We look at CustomScrollView and slivers.
Why is the app stuttering, which widget is rebuilding needlessly, where is memory leaking? We use Flutter DevTools' Performance, Memory and CPU Profiler tabs to track down the source of jank.
Email/password sign-up, sign-in, session tracking and sign-out... We build the core authentication flow end to end with the firebase_auth package, covering error handling and auth-guard integration with go_router.
Does the UI freeze while parsing a large JSON or running a heavy computation? We look at Dart's single-thread model, the compute() function, creating a manual isolate with Isolate.spawn, and when each one is actually needed.
We've covered Provider and Riverpod; next is BLoC, an event-driven approach. With the flutter_bloc package, we look at the difference between Bloc and Cubit, modeling events/states, and using BlocBuilder/BlocListener with examples.
Need a progress ring, a chart, or a custom background that off-the-shelf widgets can't draw? We look at drawing directly on a Canvas with CustomPaint and CustomPainter, getting shouldRepaint right, and staying performant.
Move every piece of text in your app into .arb files and generate a type-safe AppLocalizations class with flutter gen-l10n. We cover every piece of multi-language support, from l10n.yaml configuration to ICU plural syntax and switching language at runtime.
Which data belongs where? A simple theme preference belongs in SharedPreferences, a structured cache belongs in Hive, and a session token should never go into SharedPreferences — it belongs in secure storage. We compare all three with code examples.
Does switching between two widgets after setState feel like an abrupt jump? AnimatedSwitcher and AnimatedCrossFade automatically apply a fade/scale transition whenever a child changes. We look at the role of the key, transitionBuilder, and the difference between the two widgets.
Instead of a spinning CircularProgressIndicator, a shimmer/skeleton screen that shows a ghost version of the content makes an app feel faster and less 'empty'. We build our own shimmer widget from scratch with AnimationController and ShaderMask, no package required.
A layout that looks great on a phone shouldn't turn into a narrow strip surrounded by empty space on desktop. Learn where to use MediaQuery.sizeOf, LayoutBuilder and OrientationBuilder so a single codebase adapts cleanly to every screen.
Build smooth transitions between list and detail pages with the Hero widget. We cover tag matching, flightShuttleBuilder, and its limitations with practical examples.
Manage light and dark themes with MaterialApp's theme, darkTheme and themeMode parameters, persist the user's choice, and add your own brand colors to the theme system with ThemeExtension.
Validate multi-field forms in one go with Form and GlobalKey<FormState>. We walk through validator, autovalidateMode, chaining fields with FocusNode, and wiring the submit button to form validity.
Dart's sound null safety catches null errors at compile time. We look at nullable types, the ??/?. operators, type promotion, and the real difference between late and ! with practical code examples.
Add Material's pull-to-refresh behavior with RefreshIndicator. We cover the "doesn't show on short lists" issue, empty states, error handling, programmatic triggering and web/desktop details.
Animate the height of a widget whose content grows or shrinks, without knowing that height in advance. We look at how AnimatedSize works, the constraint trap and how to combine it with AnimatedSwitcher.
Update text smoothly instead of instantly when its size, color or weight changes. We look at how AnimatedDefaultTextStyle works, its parameters and the details worth watching out for.
A long number, a narrow button or a big title on a small screen... FittedBox scales its content to the space it has. We look at the BoxFit options, why scaleDown is usually the right choice and the common mistakes.
Tags, filter chips, buttons... Build a layout that wraps onto the next line by itself instead of a Row that overflows when the screen width changes. We look at Wrap's parameters, alignment options and limitations.
We compare Flutter and React Native across critical areas like performance, developer experience, UI and community support, and look at why Flutter stands out.