WidgetBuilder<T extends WidgetData> constructor
create a new WidgetBuilder
name the name of the widget
edit if true, the widget will be in edit mode
Implementation
WidgetBuilder({required this.name, this.edit = false});