QuranPagesScreen class
شاشة لعرض صفحة واحدة أو مجموعة صفحات محددة من المصحف
بقية الخصائص مطابقة تقريبًا لـ QuranLibraryScreen لضمان التوافق والمرونة.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- QuranPagesScreen
- Available extensions
Constructors
-
QuranPagesScreen.new({Key? key, PreferredSizeWidget? appBar, Color? ayahIconColor, Color? ayahSelectedBackgroundColor, Color? ayahSelectedFontColor, BannerStyle? bannerStyle, BasmalaStyle? basmalaStyle, Color? backgroundColor, List bookmarkList = const [], Color? bookmarksColor, Widget? circularProgressWidget, DownloadFontsDialogStyle? downloadFontsDialogStyle, bool isDark = false, String? juzName, String? languageCode = 'ar', void onAyahLongPress(LongPressStartDetails details, AyahModel ayah)?, dynamic onPageChanged(int pageNumber)?, VoidCallback? onPagePress, void onSurahBannerPress(SurahNamesModel surah)?, String? sajdaName, bool showAyahBookmarkedIcon = true, SurahInfoStyle? surahInfoStyle, SurahNameStyle? surahNameStyle, int? surahNumber, Color? textColor, List<
Color?> ? singleAyahTextColors, Widget? topTitleChild, bool useDefaultAppBar = true, bool withPageView = true, bool? isFontsLocal = false, String? fontsName = '', List<int> ? ayahBookmarked = const [], Widget? anotherMenuChild, void anotherMenuChildOnTap(AyahModel ayah)?, Widget? secondMenuChild, void secondMenuChildOnTap(AyahModel ayah)?, AyahAudioStyle? ayahStyle, SurahAudioStyle? surahStyle, bool? isShowAudioSlider = true, String? appIconUrlForPlayAudioInBackground, QuranTopBarStyle? topBarStyle, int? page, int? startPage, int? endPage, bool enableMultiSelect = false, List<int> highlightedAyahs = const [], Map<int, List< highlightedAyahNumbersBySurah = const {}, List<int> >({List< highlightedAyahNumbersInPages = const [], List<int> ayahs, int end, int start})>({int endAyah, int endSurah, int startAyah, int startSurah})> highlightedRanges = const [], List<String> highlightedRangesText = const [], required BuildContext parentContext}) -
const
Properties
- anotherMenuChild → Widget?
-
final
- anotherMenuChildOnTap → void Function(AyahModel ayah)?
-
final
- appBar → PreferredSizeWidget?
-
final
- appIconUrlForPlayAudioInBackground → String?
-
final
-
ayahBookmarked
→ List<
int> ? -
final
- ayahIconColor → Color?
-
final
- ayahSelectedBackgroundColor → Color?
-
final
- ayahSelectedFontColor → Color?
-
final
- ayahStyle → AyahAudioStyle?
-
final
- backgroundColor → Color?
-
final
-
final
- basmalaStyle → BasmalaStyle?
-
final
- bookmarkList → List
-
final
- bookmarksColor → Color?
-
final
- circularProgressWidget → Widget?
-
final
- downloadFontsDialogStyle → DownloadFontsDialogStyle?
-
final
- enableMultiSelect → bool
-
final
- endPage → int?
-
final
- fontsName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
highlightedAyahNumbersBySurah
→ Map<
int, List< int> > -
final
-
highlightedAyahNumbersInPages
→ List<
({List< int> ayahs, int end, int start})> -
final
-
highlightedAyahs
→ List<
int> -
final
-
highlightedRanges
→ List<
({int endAyah, int endSurah, int startAyah, int startSurah})> -
final
-
highlightedRangesText
→ List<
String> -
final
- isDark → bool
-
final
- isFontsLocal → bool?
-
final
- isShowAudioSlider → bool?
-
final
- juzName → String?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- languageCode → String?
-
final
- onAyahLongPress → void Function(LongPressStartDetails details, AyahModel ayah)?
-
final
- onPageChanged → dynamic Function(int pageNumber)?
-
final
- onPagePress → VoidCallback?
-
final
- onSurahBannerPress → void Function(SurahNamesModel surah)?
-
final
- page → int?
-
final
- parentContext → BuildContext
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sajdaName → String?
-
final
- secondMenuChild → Widget?
-
final
- secondMenuChildOnTap → void Function(AyahModel ayah)?
-
final
- showAyahBookmarkedIcon → bool
-
final
-
singleAyahTextColors
→ List<
Color?> ? -
final
- startPage → int?
-
final
- surahInfoStyle → SurahInfoStyle?
-
final
- surahNameStyle → SurahNameStyle?
-
final
- surahNumber → int?
-
final
- surahStyle → SurahAudioStyle?
-
final
- textColor → Color?
-
final
- topBarStyle → QuranTopBarStyle?
-
final
- topTitleChild → Widget?
-
final
- useDefaultAppBar → bool
-
final
- withPageView → 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) → 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