FLUTTER ECOSYSTEM

emadomedher/google-fonts-arabic

Googleが提供するアラビア語フォントのコレクション用Flutterパッケージ

google-fonts-arabic のプロジェクト画像
Stars
2
Forks
1
最終プッシュ(UTC)
2018/12/15
プロジェクト状態
公開中
Emad O. Medher GitHub avatar
GITHUB User

Emad O. Medher ↗

BDFL Master of the Hurricane. Loving tech life.

Riyadh, Saudi Arabia公式サイト ↗
言語Dart

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 2 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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