Skip to content
masterclass Buddy

Flutter & Dart · Concept

Widget tree

A Widget is an immutable description of part of a Flutter user interface. Flutter inflates it into an Element, which manages the underlying render tree; use StatefulWidget when mutable state is needed.

Last updated

Syntax

abstract class Widget extends DiagnosticableTree

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Element
  • StatefulWidget
  • State
  • BuildContext
  • StatelessWidget

Source: Widget class - widgets library - Dart API description. Checked 2026-11-03.