Mid-Level
November 18, 2026Spot the bug: Flutter
One snippet. Find the bug, or prove there isn't one.
dart
1import 'package:flutter/material.dart';
2
3class ProfileScreen extends StatelessWidget {
4 final User? user;
5 const ProfileScreen({super.key, this.user});
6
7
8 Widget build(BuildContext context) {
9 return Column(
10 children: [
11 Text(user!.name),
12 Text(user!.email),
13 Text(user!.address.city),
14 ],
15 );
16 }
17}Click the lines that carry the problem.
Your verdict
One attempt per day. The answer shows up right after.
Keep your streak
Create an account to keep your streak and track your progress.