ReportViewerOptions constructor

const ReportViewerOptions({
  1. double scale = 1.0,
  2. bool showGrid = false,
  3. bool showBorders = true,
  4. Color backgroundColor = Colors.white,
  5. Color borderColor = Colors.grey,
  6. double borderWidth = 1.0,
  7. bool enableZoom = true,
  8. bool enablePan = true,
  9. EdgeInsets padding = const EdgeInsets.all(8.0),
  10. ReportViewMode viewMode = ReportViewMode.singlePage,
  11. bool showSidebar = true,
  12. bool enableFilters = true,
  13. bool enableParameters = true,
  14. bool enableDataInteraction = true,
  15. bool enableTableSorting = true,
  16. bool enableRowSelection = true,
  17. bool enableDrillDown = true,
  18. bool enableExport = true,
  19. bool enableAnnotations = false,
  20. bool enableDataRefresh = true,
  21. List<ReportFilter> filters = const [],
  22. List<ReportSort> sorts = const [],
  23. Map<String, dynamic> parameters = const {},
})

Implementation

const ReportViewerOptions({
  this.scale = 1.0,
  this.showGrid = false,
  this.showBorders = true,
  this.backgroundColor = Colors.white,
  this.borderColor = Colors.grey,
  this.borderWidth = 1.0,
  this.enableZoom = true,
  this.enablePan = true,
  this.padding = const EdgeInsets.all(8.0),

  this.viewMode = ReportViewMode.singlePage,
  this.showSidebar = true,
  this.enableFilters = true,
  this.enableParameters = true,
  this.enableDataInteraction = true,
  this.enableTableSorting = true,
  this.enableRowSelection = true,
  this.enableDrillDown = true,
  this.enableExport = true,
  this.enableAnnotations = false,
  this.enableDataRefresh = true,
  this.filters = const [],
  this.sorts = const [],
  this.parameters = const {},
});