ReportViewerOptions constructor
const
ReportViewerOptions({
- double scale = 1.0,
- bool showGrid = false,
- bool showBorders = true,
- Color backgroundColor = Colors.white,
- Color borderColor = Colors.grey,
- double borderWidth = 1.0,
- bool enableZoom = true,
- bool enablePan = true,
- EdgeInsets padding = const EdgeInsets.all(8.0),
- ReportViewMode viewMode = ReportViewMode.singlePage,
- bool showSidebar = true,
- bool enableFilters = true,
- bool enableParameters = true,
- bool enableDataInteraction = true,
- bool enableTableSorting = true,
- bool enableRowSelection = true,
- bool enableDrillDown = true,
- bool enableExport = true,
- bool enableAnnotations = false,
- bool enableDataRefresh = true,
- List<
ReportFilter> filters = const [], - List<
ReportSort> sorts = const [], - 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 {},
});