NiceDashboardDesigner constructor

const NiceDashboardDesigner({
  1. Key? key,
  2. List<NiceDashboardWidget> widgets = const [],
  3. void onChange(
    1. List<NiceDashboardWidget> widgets
    )?,
  4. void onSave(
    1. List<NiceDashboardWidget> widgets
    )?,
  5. int columns = 12,
  6. double rowHeight = 60,
  7. bool showGrid = true,
  8. Widget widgetRenderer(
    1. NiceDashboardWidget widget
    )?,
})

Implementation

const NiceDashboardDesigner({
  super.key,
  this.widgets = const [],
  this.onChange,
  this.onSave,
  this.columns = 12,
  this.rowHeight = 60,
  this.showGrid = true,
  this.widgetRenderer,
});