text-style-editor icon indicating copy to clipboard operation
text-style-editor copied to clipboard

Font Family

Open vivekdhameliya2 opened this issue 4 years ago • 1 comments

I Can Change Size and But I Can Not Change Font Family ...

vivekdhameliya2 avatar Oct 30 '20 11:10 vivekdhameliya2

Hi @vivekdhameliya2, Thank you for opening this issue. Could you please prepare an example of your code?

You should add fonts to your pubspec.yaml file, like this:

fonts:
  - family: Billabong
    fonts:
      - asset: packages/text_style_editor/fonts/Billabong.ttf
  - family: otherFontName
    fonts:
      - asset: packages/text_style_editor/fonts/otherFontName.ttf

To see the list of all other supported fonts, click here

Let me know if you still have the problem.

mehdizarepour avatar Oct 31 '20 09:10 mehdizarepour