NiceDashboardWidget constructor

NiceDashboardWidget({
  1. required String id,
  2. required NiceDashboardWidgetType type,
  3. String title = '',
  4. int x = 0,
  5. int y = 0,
  6. int width = 4,
  7. int height = 3,
  8. Map<String, dynamic> config = const {},
})

Implementation

NiceDashboardWidget({
  required this.id,
  required this.type,
  this.title = '',
  this.x = 0,
  this.y = 0,
  this.width = 4,
  this.height = 3,
  this.config = const {},
});