I want to make a full Islamic app but I have an issue I want to make the surah view like the "Quran for Android" application I can make it in qcf font but it is too long way.
I found an image and database called ayahinfo_1260.db It helps to draw Canvas on the screen for highlight verses.
I want to use it in the Flutter app anyone have an idea how to make it :)
我想做一个完整的伊斯兰应用程序,但我有一个问题,我想让Surah视图像“古兰经安卓”应用程序,我可以让它在QCF字体,但它太远了。我发现了一个名为ayahinfo_1260.db的图像和数据库,它有助于在屏幕上为突出显示的诗句绘制画布。我想用它在扑翼应用程序中,任何人都知道如何制作它:)
I tried it using qcf font and it worked fine but I had to import 604 qcf font in the application and Adjust the dimensions of each page>
我用QCF字体试了试,它工作得很好,但我必须在应用程序中导入604 QCF字体并调整每个页面的尺寸>
This is and image of the "Quran for Android" application it depends on ayahinfo_1260.db and the image for every page of the quran
这是“Quran for Android”应用程序的图片,它依赖于ayahinfo_1260.db和《古兰经》每一页的图片
This is and image of my app using Flutter. I used here the qcf font in rich text and text span
这是我的应用程序使用Ffltter的图片.我在这里使用了富文本和文本范围中的QCF字体
But as i told you I have to Adjust the dimensions of each page
但正如我告诉你,我必须调整每一页的尺寸
There is a simple code for how I use qcf font
我有一个关于如何使用QCF字体的简单代码
RichText(
maxLines: 15,
textAlign: TextAlign.center,
textDirection: TextDirection.rtl,
text: TextSpan(
children: [
for (element in controller.quranV2) ...[
if (element.v1Page == 3)
TextSpan(
text: element.codeV1.toString(),
style: TextStyle(
fontFamily: 'UthmanTN1', fontSize: 23),
),
]
],
),
);
Thank You.
谢谢。
更多回答
Are you using Canvas with CustomPainter?
您是否将Canvas与CustomPainter一起使用?
优秀答案推荐
我是一名优秀的程序员,十分优秀!