print/print_theme library
Classes
- PrintColors
- Colours of the print screens, taken from the app Material theme so they follow its light/dark mode and primary colour.
- PrintShapes
- Corner radii of the print screens.
- PrintSpacing
- Spacing scale of the print screens.
Enums
- PrintMessageKind
- Kind of a short message shown by the print screens.
Extensions
- PrintThemeContext on BuildContext
-
Theme access for the print screens. The names start with
printso they never clash with the extensions of the app using the library.
Functions
-
printInputDecoration(
String label, {String? helperText}) → InputDecoration - Text field look of the print screens: outlined, with its label always above the value, so it reads well whatever the app theme does.