arabic_font 0.0.3 copy "arabic_font: ^0.0.3" to clipboard
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

pub package


# 👨‍💻 Developed by: #

profile

Nasr Al-Rahbi @abom_me

👨🏻‍💻 Find me in : #

Twitter Instagram LinkedIn Stack Overflow



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: #

changing fonts with arabic_font and hot reload

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;

👨🏻‍💻 Follow me : #

Twitter Instagram LinkedIn Stack Overflow

10
likes
0
pub points
85%
popularity

Publisher

verified publisherabom.me

Flutter package allows you to add arabic fonts in your flutter projects

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on arabic_font