arabic_font 0.0.3
arabic_font: ^0.0.3 copied to clipboard
Flutter package allows you to add arabic fonts in your flutter projects
arabic_font: #
A Flutter package allows you to add arabic fonts in your flutter projects
# 👨💻 Developed by: #

Nasr Al-Rahbi @abom_me
👨🏻💻 Find me in : #
Android | iOS | Flutter Web | |
---|---|---|---|
Support | Yes | Yes | Yes |
arabic_font using fonts from official google fonts.
arabic_font using fonts from official arb fonts.
Preview: #

Setup #
Pubspec changes:
dependencies:
map_location_picker: <last_version>
Getting Started: #
Sample example:
import 'package:arabic_font/arabic_font.dart';
const Text(
'تجربة الخط',
style: ArabicTextStyle(arabicFont: ArabicFont.dubai,fontSize:25),
);
- What You can Do:
- Change the font for specific text
- Change the font in the entire application
To Change the font for specific text: #
import 'package:arabic_font/arabic_font.dart';
Text(
'تجربة الخط',
style: ArabicTextStyle(
arabicFont: ArabicFont.dubai,
fontSize:25
),
);
To Change the font in the entire application: #
import 'package:arabic_font/arabic_font.dart';
ThemeData(
fontFamily: ArabicThemeData.font(
arabicFont: ArabicFont.dinNextLTArabic
),
package: ArabicThemeData.package,
),
Note: #
If The Font doesn't Change , just stop the project and run it again
Parameters of the ArabicTextStyle: #
///### Use ArabicFont then select type of font
/// EX: ArabicFont.dubai
final String arabicFont;