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
-
- Object
- AbstractTextExport
- PlutoGridDefaultPdfExport
Constructors
- PlutoGridDefaultPdfExport({required String title, String? creator, PdfPageFormat? format, ThemeData? themeData})
Properties
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