Troubleshooting

pushNamed: type ‘MaterialPageRoute’ is not a subtype of type ‘Route’

pushNamed: type ‘MaterialPageRoute’ is not a subtype of type ‘Route’

When using Navigator.pushNamed() in combination with type safety in Flutter, you might stumble across a type error. Let’s examine the cause and solutions.
DateTime add and subtract & daylight saving time

DateTime add and subtract & daylight saving time

The combination of daylight saving times and DateTime.add() and DateTime.subtract() can cause unpredictable problems. Here’s what you can do about it.
Widget overflowed by pixels

Widget overflowed by pixels

Working with Row and Column can often lead to overflows. Here’s why and what you can do about it.
No internet connection in Flutter release build

No internet connection in Flutter release build

You finally build your app for release and notice: no connection. What to do?