Beginning Flutter Debugging

Sep 29 2022 · Dart 2.18, Flutter 3.3, Visual Studio Code / Android Studio

Part 1: Beginning Flutter Debugging

10. Understand the Red Screen of Death

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 09. Solve Layout Errors in ListViews Next episode: 11. Customize Linting with Dart Analyzer

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 10. Understand the Red Screen of Death

The student materials have been reviewed and are updated as of SEPTEMBER 2022.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

So far, we’ve encountered errors that displays its details mainly in the debug console and sidebar. The Overflow warning sign is shown on the UI to let you know that an overflow occured then you open up the debug console to get more info about the error.

home: Scaffold(
  appBar: AppBar(
    title: const Text('Wazobia App'),
  ),
  body: Center(
    child: Container(
      height: MediaQuery.of(context).size.height / 2,
      width: MediaQuery.of(context).size.width / 2,
      color: Colors.amber,
    ),
  ),
),
body: Builder(
  builder: (BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Wazobia App'),
      ),
      body: Center(
        child: Container(
          height: MediaQuery.of(context).size.height / 2,
          width: MediaQuery.of(context).size.width / 2,
          color: Colors.amber,
        ),
      ),
    );
  },
),