InheritedElement constructor Null safety

InheritedElement(
  1. InheritedWidget widget
)

Creates an element that uses the given widget as its configuration.

Implementation

InheritedElement(InheritedWidget super.widget);