Skip to content
  • Home
  • Tutorials
  • Troubleshooting
  • Flutter basics
  • Tools
    • SVG to Flutter path converter
  • About me
  • Imprint
Flutter Clutter

Flutter Clutter

Tutorials and troubleshooting for Google's fast-growing UI toolkit

BLoC

Implementing a lotto retrospective app

2020-11-16 by marc
Flutter lotto retrospective app

Learn how to implement an app that tells you how much money you would have won or lost if you had played lotto with you chosen numbers.

Categories Tutorials Tags App, BLoC, Dart 2.10.1, Flutter 1.22.1, Lotto Leave a comment

Clone / Copy objects in Dart

2020-10-21 by marc
Copy objects Dart

Especially when working with BLoCs in Flutter, copying objects (like the previous state) becomes a regular habit. Here’s a comfortable way to do that.

Categories Basics Tags BLoC, Clone, Copy, Dart 2.10.1 2 Comments

Using BLoC pattern with service layer

2020-10-142020-10-14 by marc
Flutter BLoC add service layer

A BLoC does often have external dependencies such as services or repositories. This tutorial shows how to properly create the connection.

Categories Tutorials Tags BLoC, Dart 2.10.1, Flutter 1.22.1, Service Leave a comment

Applying the BLoC pattern in practice

2020-10-082020-10-07 by marc
Flutter apply BLoC pattern

In this tutorial, we are going to apply the BLoC pattern to an existing app, making it maintainable and testable.

Categories Tutorials Tags Architecture, BLoC, Dart 2.10.0, Flutter 1.21.0, State Management Leave a comment