createElement method

  1. @override
RFStatefulElement createElement()
override

Creates a StatefulElement to manage this widget's location in the tree.

It is uncommon for subclasses to override this method.

Implementation

@override
RFStatefulElement createElement() {
  var elementTimePoint =
      ElementTimePoint(_viewModel.name, '', _viewModel.context);
  elementTimePoint.start();
  var result = RFStatefulElement(this);
  elementTimePoint.end();
  return result;
}