@override Widget toWidget({Key? key}) { WidgetElementAdapter widget = WidgetElementAdapter(this, key: key ?? this.key); return widget; }