AyahWithTafsirInline class

وضع عرض آيات الصفحة مع تفسير كل آية (عمودي وأفقي)

يعرض آيات الصفحة الحالية مع تفسير كل آية تحتها مباشرة. يمكن التمرير عموديًا لقراءة كل الآيات، والتقليب يمين/يسار لتغيير الصفحة.

AyahWithTafsirInline Displays page ayahs with inline tafsir below each ayah. Vertically scrollable, swipe left/right to change pages.

Inheritance
Available extensions

Constructors

AyahWithTafsirInline({Key? key, required QuranCtrl quranCtrl, required bool isDark, required String languageCode, required dynamic onPageChanged(int pageNumber)?, required VoidCallback? onPagePress, required BuildContext parentContext, AyahTafsirInlineStyle? style, BannerStyle? bannerStyle, SurahNameStyle? surahNameStyle, dynamic onSurahBannerPress(SurahNamesModel surah)?, BasmalaStyle? basmalaStyle, AyahAudioStyle? audioStyle, AyahDownloadManagerStyle? ayahDownloadManagerStyle, List<int>? ayahBookmarked, bool isAyahBookmarked(AyahModel ayah)?, bool showAyahBookmarkedIcon = true, Color? bookmarksColor, Color? customBookmarksColor(AyahModel)?, bool usePageView = true, bool? withOptionsBar = true, bool? showAyahNumber = false})
const

Properties

audioStyle AyahAudioStyle?
final
ayahBookmarked List<int>?
final
ayahDownloadManagerStyle AyahDownloadManagerStyle?
final
bannerStyle BannerStyle?
final
basmalaStyle BasmalaStyle?
final
bookmarksColor Color?
final
customBookmarksColor Color? Function(AyahModel)?
final
hashCode int
The hash code for this object.
no setterinherited
isAyahBookmarked bool Function(AyahModel ayah)?
final
isDark bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
languageCode String
final
onPageChanged → dynamic Function(int pageNumber)?
final
onPagePress VoidCallback?
final
onSurahBannerPress → dynamic Function(SurahNamesModel surah)?
final
parentContext BuildContext
final
quranCtrl QuranCtrl
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAyahBookmarkedIcon bool
final
showAyahNumber bool?
final
style AyahTafsirInlineStyle?
final
surahNameStyle SurahNameStyle?
final
usePageView bool
عند false يُعرض المحتوى بدون PageView ويستمع لتغيّر الصفحة من QuranCtrl. عند استخدامه داخل QuranWithTafsirSide يجب أن يكون false.
final
withOptionsBar bool?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
fontSizeDropDown({double? height, Color? color, bool isDark = false, TafsirStyle? tafsirStyle}) Widget

Available on Widget, provided by the FontSizeExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showSajda(BuildContext context, int pageIndex, String sajdaName, Color sajdaNameColor) Widget

Available on Widget, provided by the SajdaExtension extension

Displays a Sajda widget.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited