ScrizerColor class

A theme configuration class for customizing the visual design of widgets using the Scrizer framework.

Inheritance
Annotations

Constructors

ScrizerColor.new({required Color primaryColor, required Color secondaryColor, required Color unselectedWidgetColor, required Color colorScheme, required Color scaffoldBackgroundColor, required Color dialogBackgroundColor, required Color hintColor, required Color appBarPrimaryBackgroundColor, required Color appBarSecondaryBackgroundColor, required Color appBarPrimaryForgroundColor, required Color appBarSecondaryForgroundColor, required Color appBarBorderColor, required Color bottomAppBarPrimaryBackgroundColor, required Color bottomAppBarSecondaryBackgroundColor, required Color bottomAppBarPrimaryForgroundColor, required Color bottomAppBarSecondaryForgroundColor, required Color bottomAppBarBorderColor, required Color listTileBackgroundColor, required Color listTileTitleColor, required Color listTileSubtitleColor, required Color listTileBorderColor, required Color inputFillColor, required Color inputFocusColor, required Color inputHintColor, required Color inputIconColor, required Color inputLabelColor, required Color iconPrimaryColor, required Color iconSecondaryColor, required Color textPrimaryColor, required Color textSecondaryColor, required Color textTertiaryColor, required Color textQuatenaryColor, required Color textLinkColor, required Color buttonPrimaryBackgroundColor, required Color buttonSecondaryBackgroundColor, required Color buttonTertiaryBackgroundColor, required Color buttonQuatenaryBackgroundColor, required Color buttonPrimaryForgroundColor, required Color buttonSecondaryForgroundColor, required Color buttonTertiaryForgroundColor, required Color buttonQuatenaryForgroundColor, required Color dividerPrimaryColor, required Color dividerSecondaryColor, required Color bottomSheetPrimaryColor, required Color bottomSheetSecondaryColor, required Color progressIndicatorColor, required Color progressIndicatorTrackColor, required Color progressIndicatorRefreshBackgroundColor})
Creates a new instance of ScrizerTheme with all required styling options.
const

Properties

appBarBorderColor Color
Border color for the AppBar.
final
appBarPrimaryBackgroundColor Color
Primary background color for the AppBar.
final
appBarPrimaryForgroundColor Color
Foreground color (e.g., title, icons) for the primary AppBar.
final
appBarSecondaryBackgroundColor Color
Secondary background color for the AppBar.
final
appBarSecondaryForgroundColor Color
Foreground color for the secondary AppBar.
final
bottomAppBarBorderColor Color
Border color for the BottomAppBar.
final
bottomAppBarPrimaryBackgroundColor Color
Primary background color for the BottomAppBar.
final
bottomAppBarPrimaryForgroundColor Color
Foreground color for the primary BottomAppBar.
final
bottomAppBarSecondaryBackgroundColor Color
Secondary background color for the BottomAppBar.
final
bottomAppBarSecondaryForgroundColor Color
Foreground color for the secondary BottomAppBar.
final
bottomSheetPrimaryColor Color
Primary background color for bottom sheets.
final
bottomSheetSecondaryColor Color
Secondary background color for bottom sheets.
final
buttonPrimaryBackgroundColor Color
Background color for primary buttons.
final
buttonPrimaryForgroundColor Color
Foreground color for primary buttons.
final
buttonQuatenaryBackgroundColor Color
Background color for quaternary buttons.
final
buttonQuatenaryForgroundColor Color
Foreground color for quaternary buttons.
final
buttonSecondaryBackgroundColor Color
Background color for secondary buttons.
final
buttonSecondaryForgroundColor Color
Foreground color for secondary buttons.
final
buttonTertiaryBackgroundColor Color
Background color for tertiary buttons.
final
buttonTertiaryForgroundColor Color
Foreground color for tertiary buttons.
final
colorScheme Color
The primary color scheme used in the app.
final
dialogBackgroundColor Color
Background color for dialogs.
final
dividerPrimaryColor Color
Primary color for dividers.
final
dividerSecondaryColor Color
Secondary color for dividers.
final
hashCode int
The hash code for this object.
no setterinherited
hintColor Color
Color used for generic hints and placeholders.
final
iconPrimaryColor Color
Primary icon color used across the app.
final
iconSecondaryColor Color
Secondary icon color used for less prominent icons.
final
inputFillColor Color
Fill color for input fields (e.g., TextFormField).
final
inputFocusColor Color
Color used to indicate input focus.
final
inputHintColor Color
Hint text color in input fields.
final
inputIconColor Color
Icon color inside input fields.
final
inputLabelColor Color
Label text color in input fields.
final
listTileBackgroundColor Color
Background color for ListTile widgets.
final
listTileBorderColor Color
Border color used around ListTile widgets.
final
listTileSubtitleColor Color
Subtitle text color for ListTile.
final
listTileTitleColor Color
Title text color for ListTile.
final
primaryColor Color
The main color used throughout the app (brand color).
final
progressIndicatorColor Color
Color of the main progress indicator.
final
progressIndicatorRefreshBackgroundColor Color
Background color for refresh indicators (pull-to-refresh).
final
progressIndicatorTrackColor Color
Color of the track behind a progress indicator.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaffoldBackgroundColor Color
Background color for the scaffold.
final
secondaryColor Color
The second color used throughout the app (sub brand color).
final
textLinkColor Color
Color used for hyperlinks.
final
textPrimaryColor Color
Primary text color.
final
textQuatenaryColor Color
Quatenary text color for lowest priority text.
final
textSecondaryColor Color
Secondary text color.
final
textTertiaryColor Color
Tertiary text color, usually for hints or less important text.
final
type Object
The extension's type.
no setterinherited
unselectedWidgetColor Color
The color used for unselected widgets like toggles or tabs.
final

Methods

copyWith({Color? primaryColor, Color? secondaryColor, Color? unselectedWidgetColor, Color? colorScheme, Color? scaffoldBackgroundColor, Color? dialogBackgroundColor, Color? hintColor, Color? appBarPrimaryBackgroundColor, Color? appBarSecondaryBackgroundColor, Color? appBarPrimaryForgroundColor, Color? appBarSecondaryForgroundColor, Color? appBarBorderColor, Color? bottomAppBarPrimaryBackgroundColor, Color? bottomAppBarSecondaryBackgroundColor, Color? bottomAppBarPrimaryForgroundColor, Color? bottomAppBarSecondaryForgroundColor, Color? bottomAppBarBorderColor, Color? listTileBackgroundColor, Color? listTileTitleColor, Color? listTileSubtitleColor, Color? listTileBorderColor, Color? inputFillColor, Color? inputFocusColor, Color? inputHintColor, Color? inputIconColor, Color? inputLabelColor, Color? iconPrimaryColor, Color? iconSecondaryColor, Color? textPrimaryColor, Color? textSecondaryColor, Color? textTertiaryColor, Color? textQuatenaryColor, Color? textLinkColor, Color? buttonPrimaryBackgroundColor, Color? buttonSecondaryBackgroundColor, Color? buttonTertiaryBackgroundColor, Color? buttonQuatenaryBackgroundColor, Color? buttonPrimaryForgroundColor, Color? buttonSecondaryForgroundColor, Color? buttonTertiaryForgroundColor, Color? buttonQuatenaryForgroundColor, Color? dividerPrimaryColor, Color? dividerSecondaryColor, Color? bottomSheetPrimaryColor, Color? bottomSheetSecondaryColor, Color? progressIndicatorColor, Color? progressIndicatorTrackColor, Color? progressIndicatorRefreshBackgroundColor}) ScrizerColor
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<ScrizerColor>? other, double t) ScrizerColor
Linearly interpolate with another ThemeExtension object.
override
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