It is Michael Mobayen

It's
Michael
Mobayen

I'm a web and mobile developer crafting smooth experiences with Flutter, Vue/Nuxt, and React/Next. Tailwind CSS is my go-to, but I also speak fluent CSS when things get fancy.

When I'm not building apps, you'll find me sketching or growing little green friends from seeds - everything from avocados to oranges (even in a tiny apartment).

Mastering (flutter logs): Debugging Your Flutter App Like a Pro 🚀

As a Flutter developer, one of the most powerful and underused tools at your disposal is the simple yet mighty command: [flutter logs]. Whether you're debugging push notifications, crashes, or app lifecycle behavior, especially from terminated or background states [flutter logs] can be your best friend.

In this post, we'll break down what [flutter logs] is, how it works, and why it's essential for effective debugging.

Read more

The Phantom Back Button: A GoRouter & Async Race Condition

The Bug

Imagine a standard top-level screen in your app—like a dashboard or a settings landing page—where the back button should not appear because there is nowhere to go back to.

From this screen, you open a modal dialog to edit some data. You hit Save, the dialog disappears, but suddenly, a back button appears in your app bar. Tapping it completely crashes the app:


Exception has occurred.
GoError (GoError: There is nothing to pop)

The app bar believes there is a route to pop, but GoRouter insists there isn't.


Read more