StatelessElement constructor

StatelessElement(
  1. StatelessWidget widget
)

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

Implementation

StatelessElement(StatelessWidget super.widget);