Drawing a Hexagon Grid in Flutter

This post aims to show you how to extend the CustomPaint to draw your own figures. We will also draw multiple CustomPaint Widgets on the same canvas so that we can reuse our figure and draw it multiple times. This post uses a hexagon as an example, but it can be done with any figure. Drawing a hexagon The goal is to draw a hexagon. We can extend the CustomPaint to draw a hexagon. The CustomPaint widget expects a painter.…

Read More

Mutations on a GraphQL Endpoint with Flutter

In the previous blog post, we described how to query a GraphQL endpoint. Here we retrieved the information about Formula 1 standings. Of course, there are more races in this season, and (hopefully) this is not the last season. So in this blog post, we will describe how to execute mutations. This way we can insert new races that are coming! Setup of the project We are going to use the Graphql Flutter dependency. Installing new dependencies is easy in…

Read More