PrintLibraryOptions class

Defaults stored the first time a print library is set up.

Constructors

PrintLibraryOptions({bool loadDefaultPaperFormats = true, List<PrintTemplate> defaultTemplates(BuildContext context)?, List<PrintCategory> defaultCategories(BuildContext context)?})
const

Properties

defaultCategories → List<PrintCategory> Function(BuildContext context)?
Ready-made categories of the app, built in the current language.
final
defaultTemplates → List<PrintTemplate> Function(BuildContext context)?
Ready-made templates of the app, built in the current language.
final
hashCode → int
The hash code for this object.
no setterinherited
loadDefaultPaperFormats → bool
Stores the ready-made paper formats of the library (PaperFormatDefaults) together with the other defaults. When false the library starts without paper formats and they are created by hand.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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