UpThemes class

Constructors

UpThemes()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

calculateContrast({required Color contrastColor, required Color color}) → dynamic
generateDarkerMaterialColor(Color color) MaterialColor
generateLighterMaterialColor(Color color) MaterialColor
generateMaterialFromSingleColor(Color color) MaterialColor
generateStyleByMaterial({required MaterialColor inputColor, required MaterialColor contrastColor, required MaterialColor baseColor}) UpStyle
generateThemeByColor({required Color primaryColor, required Color baseColor, bool isDark = false, Color? secondaryColor, Color? tertiaryColor, Color? warnColor, Color? linkColor, Color? successColor}) UpThemeData
generateThemeByIntColor({required int primaryColor, required int baseColor, bool isDark = false, int? secondaryColor, int? tertiaryColor, int? warnColor, int? linkColor, int? successColor}) UpThemeData
generateThemeByMaterial({bool isDark = false, required MaterialColor primaryColor, required MaterialColor baseColor, MaterialColor? secondaryColor, MaterialColor? tertiaryColor, MaterialColor? warnColor, MaterialColor? linkColor, MaterialColor? successColor}) UpThemeData
getContrastColor(Color color) → dynamic
getDarkerColor(Color c, [int percent = 10]) Color
getLighterColor(Color c, [int percent = 10]) Color