WidgetBuilder<T extends WidgetData> constructor

WidgetBuilder<T extends WidgetData>({
  1. required String name,
  2. bool edit = false,
})

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});