BaseStyles class

BaseStyles is the base style class for most style classes provided by CometChatUIKit


BaseStyles(
  width: 100.0,
  height: 50.0,
  background: Colors.blue,
  gradient: LinearGradient(
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
    colors: [Colors.blue, Colors.green],
  ),
  border: Border.all(
    color: Colors.grey,
    width: 2.0,
  ),
  borderRadius: 10.0,
)

Implementers

Constructors

BaseStyles({double? width, double? height, Color? background, Gradient? gradient, BoxBorder? border, double? elevation, double? borderRadius, BorderRadiusGeometry? borderRadiusGeometry})
const

Properties

background Color?
background provides background color to the widget
final
border BoxBorder?
border provides border around the widget
final
borderRadius double?
borderRadius provides radius to the border around the widget
final
borderRadiusGeometry BorderRadiusGeometry?
borderRadiusGeometry
final
elevation double?
elevation
final
gradient Gradient?
gradient provides (background) gradient to the widget
final
hashCode int
The hash code for this object.
no setterinherited
height double?
height provides height to the widget
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
width provides width to the widget
final

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