DeclareWidget constructor

const DeclareWidget({
  1. required String name,
  2. required String group,
  3. required String icon,
})

Create a new DeclareWidget name name of the widget group group name of the widget icon icon name of the widget

Implementation

const DeclareWidget({required this.name, required this.group, required this.icon});