joseph-grabinger / flutter_to_pdf

Create PDFs but work with normal Flutter Widgets.
MIT License
21 stars 17 forks source link

Unsupported Text Style, Font family, Shape Decoration #63

Closed mainulislamfahim closed 7 months ago

mainulislamfahim commented 7 months ago

I used Text Widget where normally I used Text Style for underline when I used this plugin it tells Unsupported Unsupported TextAlign: TextAlign.start; defaulting to null I/flutter (12707): Unsupported FontWeight: FontWeight.w600; defaulting to FontWeight.normal I/flutter (12707): Unsupported TextDecorationStyle: TextDecorationStyle.dotted; defaulting to TextDecorationStyle.solid I/flutter (12707): Unsupported TextAlign: TextAlign.start; defaulting to null I/flutter (12707): Unsupported TextAlign: TextAlign.start; defaulting to null I/flutter (12707): Unsupported FontWeight: FontWeight.w600; defaulting to FontWeight.normal I/flutter (12707): Unsupported TextDecorationStyle: TextDecorationStyle.dotted; defaulting to TextDecorationStyle.solid I/flutter (12707): Unsupported TextAlign: TextAlign.start; defaulting to null I/flutter (12707): Unsupported TextAlign: TextAlign.start; defaulting to null .... and so on

joseph-grabinger commented 7 months ago

This is due to limitations from the pdf package.

For FontWeight:

For TextDecorationStyle:

But I saw that TextAlign.start and TextAlign.end are now supported. Thus, #64 will add this functionality and this issue will be closed.

For further feature requests please open separate issues for each feature.