PlutoGridDefaultPdfExport class

PDF exporter for PlutoGrid

themeData Attributes for custom fonts.

import 'package:pluto_grid_export/pluto_grid_export.dart' as pluto_grid_export;

final themeData = pluto_grid_export.ThemeData.withFont( base: pluto_grid_export.Font.ttf( await rootBundle.load('assets/fonts/open_sans/OpenSans-Regular.ttf'), ), bold: pluto_grid_export.Font.ttf( await rootBundle.load('assets/fonts/open_sans/OpenSans-Bold.ttf'), ), );

Inheritance

Constructors

PlutoGridDefaultPdfExport({required String title, String? creator, PdfPageFormat? format, ThemeData? themeData})

Properties

creator String?
final
format PdfPageFormat?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
themeData ThemeData?
getter/setter pair
title String
final

Methods

export(PlutoGridStateManager state) Future<Uint8List>
override
getColumnTitles(PlutoGridStateManager state) List<String>
Returns the titles of the active column of PlutoGrid.
inherited
getFilename() String
mapPlutoRowToList(PlutoGridStateManager state, PlutoRow plutoRow) List<String?>
state PlutoGrid's PlutoGridStateManager.
inherited
mapStateToListOfRows(PlutoGridStateManager state) List<List<String?>>
Converts a list of PlutoRows to a string to be printed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visibleColumns(PlutoGridStateManager state) List<PlutoColumn>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited