Creates an element that uses the given widget as its configuration.
Source
StatelessElement(StatelessWidget widget) : super(widget) {
_builder = widget.build;
}
Creates an element that uses the given widget as its configuration.
StatelessElement(StatelessWidget widget) : super(widget) {
_builder = widget.build;
}