google_fonts_arabic 1.1.2 copy "google_fonts_arabic: ^1.1.2" to clipboard
google_fonts_arabic: ^1.1.2 copied to clipboard

outdated

Arabic fonts by google right into your flutter application. Just import the fonts file and use the constant in example to browse the available fonts. Currently you have to take care of bold, italic an [...]

google_fonts_arabic #

Arabic fonts by google right into your flutter application. Courtsey of fonts.google.com

Getting Started #

Until this package get listed on dartlang, add the package to your project as follows:

google_fonts_arabic:
      git: git://github.com/emadomedher/google-fonts-arabic.git
      version: ^0.0.5

Import the list of fonts like this:

import 'package:google_fonts_arabic/fonts.dart';

Then you can view the available fonts like this through the ArabicFonts clas:

alt text

In your text widgets, use it like this:

  Text(
      "كيف حالك يا أخ العرب؟",
      style: new TextStyle(
        fontFamily: ArabicFonts.Cairo,
        package: 'google_fonts_arabic',
        fontSize: 25.0,
      ),
    ),

Enjoy ^_^

26
likes
0
pub points
79%
popularity

Publisher

unverified uploader

Arabic fonts by google right into your flutter application. Just import the fonts file and use the constant in example to browse the available fonts. Currently you have to take care of bold, italic and underlines. Even though the styled lines are added already. Please raise an issue if you have any problems.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on google_fonts_arabic