XStyle class

a model for app style you can extends it for your custom not

Constructors

XStyle({required MaterialColor swatch, Color? primary, Brightness brightness = Brightness.light})
const

Properties

brightness Brightness
it will set to theme as brightness
final
hashCode int
The hash code for this object.
no setterinherited
primary Color
it will set to theme as primaryColor
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
swatch MaterialColor
it will set to theme as primarySwatch
final
theme ThemeData
Return theme for your app
no setter

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