core/extensions/pdf_extension library
Extensions
- PdfBlockAlignmentExtension on String
- PdfBlockBoxFitExtension on String
- Pdf image resolve to boxfit images at a type Some conditions return different boxfit from the compare since that boxfit cam generate conflicts or crash the app
- PdfDoubleExtension on double
- TextAlignmentExtension on String?
- TextStyleInlineExtension on TextStyle
- A extesion to resolve more easily to decide the style of the spans
Functions
-
hexToColor(
String hexString) → PdfColor -
pdfColorString(
String? colorString) → PdfColor? -
rgbaToHex(
int red, int green, int blue, {double opacity = 1}) → int