StatelessElement constructor Null safety

StatelessElement(
  1. StatelessWidget widget
)

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

Implementation

StatelessElement(StatelessWidget super.widget);