CardLoadingTheme class

The CardLoadingTheme class defines the visual appearance of a loading card.

This class takes in two Color parameters, colorOne and colorTwo, which are used to set the background color of the card during its loading state.

Example usage:

CardLoadingTheme(
  colorOne: Colors.lightBlue,
  colorTwo: Colors.blue,
)

Constructors

CardLoadingTheme({required Color colorOne, required Color colorTwo})
The CardLoadingTheme class defines the visual appearance of a loading card.
const

Properties

colorOne Color
at the beginning this will be the Color for the background CardLoading default Color(0xFFE5E5E5)
final
colorTwo Color
at the beginning this will be the Color for the Loading CardLoading default Color(0xFFF0F0F0)
final
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

Constants

defaultTheme → const CardLoadingTheme