How to build a Chat Messaging UI in Flutter

A simple and elegant approach to build a Chat Messaging UI with DecoratedBox, Align, and Padding widgets in Flutter. https://codewithandrea.com/articles/chat-messaging-ui-flutter/

How to add Rounded Borders to a Widget in Flutter

In Flutter you can use DecoratedBox to set a lot of decoration/styling options to your widgets. Here's how. https://codewithandrea.com/tips/rounded-border-widget-flutter/

How to quickly generate some fake data when building Flutter UIs

The faker package lets you generate addresses, names, food, dates, sports... you name it! Here's how to use it. https://codewithandrea.com/tips/faker-package/

How to style an ElevatedButton in Flutter

How to style an ElevatedButton in Flutter, including reusing the same style across all buttons with ThemeData. https://codewithandrea.com/tips/elevated-button-style-flutter/

Flutter: How to draw a task completion ring with CustomPainter

CustomPainter is often the way to go when we need to draw some custom shapes in Flutter. Let's see how to use it in practice. https://codewithandrea.com/articles/flutter-drawing-with-custom-painter/

Flutter Timer vs Ticker: A Case Study

Need a Flutter widget that updates every frame? Here's why using Timer is not a good choice, and why Ticker is a much better solution. https://codewithandrea.com/articles/flutter-timer-vs-ticker/

How to Parse JSON in Dart/Flutter with Code Generation using Freezed

Tired of writing JSON parsing code by hand? Here's how to automate this with code generation and the Freezed package. https://codewithandrea.com/articles/parse-json-dart-codegen-freezed/

How to Parse JSON in Dart/Flutter: The Essential Guide

Learn how to parse JSON and define strongly-typed model classes that can handle validation, nullable/optional values, and complex/nested JSON data. https://codewithandrea.com/articles/parse-json-dart/

Side effects in Flutter: don’t mutate state inside the build method

Mutating state or calling async code inside the build method can cause unwanted widget rebuilds and unintended behaviour. Here are some examples and rules to follow. https://codewithandrea.com/articles/side-effects-flutter/


Membri



Ricerca