StatelessElement constructor

StatelessElement(StatelessWidget widget)

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

Implementation

StatelessElement(StatelessWidget widget) : super(widget);