v1.0.6persian_fonts
一個用於使用免費波斯字體的Flutter套件。支援Vazir、Samim、Shabnam和Sahel字體。
📦 一個用於使用免費波斯字體的 Flutter 套件。
以下為英文專案原文快照,最新內容請造訪 GitHub。
A Flutter package for using free persian fonts.
The persian_fonts package for Flutter allows you to easily use any free persian fonts in your app.

Currently, PersianFonts supports 5 types of fonts: Vazir, Samim, Shabnam, Sahel and B-Yekan. yours isn't hrere? add it!
First, add the persian_fonts package to your pubsec dependencies.
To import PersianFonts:
import 'package:persian_fonts/persian_fonts.dart';
To use PersianFonts as the default TextStyle:
Text(
'These are persian fonts.',
style: PersianFonts.Samim,
),
To use PersianFonts with a customized TextStyle:
Text(
'These are persian fonts.',
style: PersianFonts.Samim.copyWith(
...
),
),
You can also use PersianFonts to make or modify an entire text theme to use one of the supported fonts:
MaterialApp(
theme: ThemeData(
textTheme: PersianFonts.vazirTextTheme,
),
);
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗