FLUTTER ECOSYSTEM

emadomedher/google-fonts-arabic

Pacote Flutter para uma coleção de fontes árabes do Google

Capa do projeto google-fonts-arabic
Stars
2
Forks
1
Último push (UTC)
15 de dez. de 2018
Status do projeto
Ativo
Emad O. Medher GitHub avatar
GITHUB User

Emad O. Medher ↗

BDFL Master of the Hurricane. Loving tech life.

Riyadh, Saudi ArabiaSite oficial ↗
LinguagensDart

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 2 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

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