CometChatTextStyleHeading4 class

CometChatTextStyleHeading4 is a class that gives the styling to the text displayed in the CometChatApp.

Inheritance

Constructors

CometChatTextStyleHeading4.new({TextStyle? bold, TextStyle? medium, TextStyle? regular})
const

Properties

bold TextStyle?
bold defines the styling for the text with FontWeight.w700.
final
hashCode int
The hash code for this object.
no setterinherited
medium TextStyle?
medium defines the styling for the text with FontWeight.w500.
final
regular TextStyle?
regular defines the styling for the text with FontWeight.w400.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Object
The extension's type.
no setterinherited

Methods

copyWith({TextStyle? bold, TextStyle? medium, TextStyle? regular}) CometChatTextStyleHeading4
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<CometChatTextStyleHeading4>? other, double t) CometChatTextStyleHeading4
Linearly interpolate with another ThemeExtension object.
override
merge(CometChatTextStyleHeading4? other) CometChatTextStyleHeading4
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

of(BuildContext context) CometChatTextStyleHeading4