Search packages, repositories and app categories

GitHub repositoryemadomedher/google-fonts-arabic

google-fonts-arabic

Flutter package for a collection of Arabic fonts by google

google-fonts-arabic project cover
Stars
2
Forks
1
Last push (UTC)
Dec 15, 2018
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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

Emad O. Medher GitHub avatar
GitHub author

Emad O. Medher ↗

BDFL Master of the Hurricane. Loving tech life.

Riyadh, Saudi ArabiaOfficial website ↗
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗