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 ^_^

Libraries

google_fonts_arabic
google_fonts_arabic