Skip to content
masterclass Buddy

Flutter & Dart · Class

StatelessWidget

StatelessWidget describes UI without mutable state. Its build method creates a widget subtree from final configuration and inherited data in BuildContext.

Last updated

Syntax

abstract class StatelessWidget extends Widget

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

Subscribe
  • StatefulWidget
  • State
  • InheritedWidget
  • BuildContext
  • StatelessElement
  • Widget.canUpdate

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