AddTemplatePopup constructor Null safety

const AddTemplatePopup(
  1. {Key? key,
  2. Template? template}
)

template is optional to enable reuse of this popup for editing and creating.

Implementation

const AddTemplatePopup({Key? key, this.template}) : super(key: key);