google_fonts_arabic 1.1.3 google_fonts_arabic: ^1.1.3 copied to clipboard
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:
In your text widgets, use it like this:
Text(
"كيف حالك يا أخ العرب؟",
style: new TextStyle(
fontFamily: ArabicFonts.Cairo,
package: 'google_fonts_arabic',
fontSize: 25.0,
),
),
Enjoy ^_^