createWidget abstract method

Widget createWidget()

Creates a widget to be benchmarked.

The widget is not expected to animate as we only care about construction of the widget. If you are interested in benchmarking an animation, consider using WidgetRecorder.

Implementation

Widget createWidget();