Skip to content
masterclass Buddy

Flutter & Dart · Class

InheritedWidget

InheritedWidget is an abstract base for passing information down the widget tree. Descendants can depend on the nearest matching instance and rebuild when it reports a relevant change.

Last updated

Syntax

abstract class InheritedWidget extends ProxyWidget

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

Subscribe
  • BuildContext.dependOnInheritedWidgetOfExactType
  • InheritedElement
  • InheritedNotifier
  • InheritedModel
  • Widget

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