ThemeParameters class

Inheritance

Constructors

ThemeParameters({required int backgroundColor, required int secondaryBackgroundColor, required int textColor, required int hintColor, required int linkColor, required int buttonColor, required int buttonTextColor})
Contains parameters of the application theme
const
ThemeParameters.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

backgroundColor int
backgroundColor A color of the background in the RGB24 format
final
buttonColor int
buttonColor A color of the buttons in the RGB24 format
final
buttonTextColor int
buttonTextColor A color of text on the buttons in the RGB24 format
final
clientId int?
client identifier
no setterinherited
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hintColor int
hintColor A color of hints in the RGB24 format
final
linkColor int
linkColor A color of links in the RGB24 format
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryBackgroundColor int
secondaryBackgroundColor A secondary color for the background in the RGB24 format
final
textColor int
textColor A color of text in the RGB24 format
final

Methods

copyWith({int? backgroundColor, int? secondaryBackgroundColor, int? textColor, int? hintColor, int? linkColor, int? buttonColor, int? buttonTextColor}) ThemeParameters
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String