QuranTopBarStyle class
Style configuration for Quran Top Bar (previously DefaultDrawer) Allows customizing colors, texts, spacings, and icons
Constructors
- QuranTopBarStyle.new({Color? backgroundColor, Color? textColor, Color? accentColor, Color? shadowColor, Color? handleColor, double? elevation, double? borderRadius, EdgeInsetsGeometry? padding, double? height, String? audioIconPath, double? iconSize, Color? iconColor, String? fontsDialogTitle, String? fontsDialogNotes, String? fontsDialogDownloadingText, String? tabIndexLabel, String? tabSearchLabel, String? tabBookmarksLabel, String? tabSurahsLabel, String? tabJozzLabel, bool? showMenuButton, bool? showAudioButton, bool? showFontsButton, String? optionsIconPath})
-
const
- QuranTopBarStyle.defaults({required bool isDark})
-
Provide sensible defaults based on theme (isDark)
factory
Properties
- accentColor → Color?
-
final
- audioIconPath → String?
-
final
- backgroundColor → Color?
-
final
- borderRadius → double?
-
final
- elevation → double?
-
final
- fontsDialogDownloadingText → String?
-
final
- fontsDialogNotes → String?
-
final
- fontsDialogTitle → String?
-
final
- handleColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- iconColor → Color?
-
final
- iconSize → double?
-
final
-
final
- optionsIconPath → String?
-
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor → Color?
-
final
- showAudioButton → bool?
-
final
- showFontsButton → bool?
-
final
- showMenuButton → bool?
-
final
- tabBookmarksLabel → String?
-
final
- tabIndexLabel → String?
-
final
- tabJozzLabel → String?
-
final
- tabSearchLabel → String?
-
final
- tabSurahsLabel → String?
-
final
- textColor → Color?
-
final
Methods
-
copyWith(
{Color? backgroundColor, Color? textColor, Color? accentColor, Color? shadowColor, Color? handleColor, double? elevation, double? borderRadius, EdgeInsetsGeometry? padding, double? height, String? audioIconPath, double? iconSize, Color? iconColor, String? fontsDialogTitle, String? fontsDialogNotes, String? fontsDialogDownloadingText, String? tabIndexLabel, String? tabSearchLabel, String? tabBookmarksLabel, String? tabSurahsLabel, String? tabJozzLabel, bool? showMenuButton, bool? showAudioButton, bool? showFontsButton, String? optionsIconPath}) → QuranTopBarStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited