clone method

  1. @override
TemplatePortal clone()
override

Creates a copy of this portal that can also be attached.

Implementation

@override
TemplatePortal clone() => TemplatePortal(template, viewContainer);