DownloadFontsDialogStyle class

A class that defines the style for the download fonts dialog.

This class can be used to customize the appearance and behavior of the dialog that is shown when downloading fonts in the application.

Constructors

DownloadFontsDialogStyle({Color? backgroundColor, String? defaultFontText, Color? dividerColor, String? downloadedFontsText, List<String>? recitationNames, Color? downloadButtonBackgroundColor, TextStyle? downloadingStyle, String? downloadingText, TextStyle? fontNameStyle, Color? iconColor, double? iconSize, Widget? iconWidget, Color? linearProgressBackgroundColor, Color? linearProgressColor, String? notes, Color? notesColor, TextStyle? notesStyle, Color? titleColor, TextStyle? titleStyle, String? headerTitle, Color? closeIconColor, Gradient? backgroundGradient, String? tajweedOptionNames})
A class representing the style for the download fonts dialog.

Properties

backgroundColor → Color?
The background color of the dialog. This can be null, in which case the default background color will be used.
final
backgroundGradient → Gradient?
The background gradient for the header of the download fonts dialog.
final
closeIconColor → Color?
The color of the close icon in the download fonts dialog.
final
defaultFontText → String?
The text to be displayed as the title for the default font.
final
dividerColor → Color?
The color of the divider in the dialog. This can be null, in which case the default color will be used.
final
downloadButtonBackgroundColor → Color?
The background color of the download button in the dialog.
final
downloadedFontsText → String?
The text to be displayed as the title for the quran font.
final
downloadingStyle → TextStyle?
The text style to be applied to the downloading text in the dialog.
final
downloadingText → String?
The text to be displayed while the font is being downloaded.
final
fontNameStyle → TextStyle?
The text style for displaying the font name in the download fonts dialog.
final
hashCode → int
The hash code for this object.
no setterinherited
headerTitle → String?
The text to be displayed as the header title in the download fonts dialog.
final
iconColor → Color?
The color of the icon in the dialog.
final
iconSize → double?
The size of the icon to be displayed in the dialog.
final
iconWidget → Widget?
An optional widget to display an icon in the dialog.
final
linearProgressBackgroundColor → Color?
The background color for the linear progress indicator in the download fonts dialog.
final
linearProgressColor → Color?
The color of the linear progress indicator.
final
notes → String?
Optional notes associated with the download fonts dialog style.
final
notesColor → Color?
The color used for notes in the download fonts dialog.
final
notesStyle → TextStyle?
The text style to be applied to the notes section in the download fonts dialog.
final
recitationNames → List<String>?
أسماء مخصّصة لقائمة القراءات/الخطوط.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tajweedOptionNames → String?
final
titleColor → Color?
The color of the title text in the download fonts dialog.
final
titleStyle → TextStyle?
The style to be applied to the title text in the download fonts dialog.
final

Methods

copyWith({Color? backgroundColor, String? defaultFontText, Color? dividerColor, String? downloadedFontsText, List<String>? recitationNames, Color? downloadButtonBackgroundColor, TextStyle? downloadingStyle, String? downloadingText, TextStyle? fontNameStyle, Color? iconColor, double? iconSize, Widget? iconWidget, Color? linearProgressBackgroundColor, Color? linearProgressColor, String? notes, Color? notesColor, TextStyle? notesStyle, String? title, Color? titleColor, TextStyle? titleStyle, String? headerTitle, Color? closeIconColor, Gradient? backgroundGradient, String? tajweedOptionNames}) → DownloadFontsDialogStyle
Creates a copy of the current DownloadFontsDialogStyle instance with the specified properties replaced by new values.
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

Static Methods

defaults(bool isDarkMode, BuildContext context) → DownloadFontsDialogStyle
A method to create default styles for the download fonts dialog.