CommentsTextStyle class abstract

Text style configuration for comments widgets.

This interface allows customization of text styles used in the comments package. If not provided, the package will use default styles based on the current Theme.

Row-specific styles (commentUsername, commentBody, replyAction, likeCount, sheetTitle) drive the main comment UI. The normal* / bold18 helpers remain for report flows, composer, and backwards compatibility.

Implementers

Constructors

CommentsTextStyle()

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

bold18({Color? color, TextAlign? align}) → TextStyle
Style for bold 18pt text (report sheets and legacy titles).
commentBody({Color? color, TextAlign? align}) → TextStyle
Comment list: body text.
commentUsername({Color? color, TextAlign? align}) → TextStyle
Comment list: author display name.
likeCount({Color? color, TextAlign? align}) → TextStyle
Comment list: numeric like count below the heart icon.
normal12({Color? color, TextAlign? align}) → TextStyle
Style for normal 12pt text.
normal14({Color? color, TextAlign? align}) → TextStyle
Style for normal 14pt text.
normal15({Color? color, TextAlign? align}) → TextStyle
Style for normal 15pt text.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replyAction({Color? color, TextAlign? align}) → TextStyle
Comment list: "Reply" / answer action label.
sheetTitle({Color? color, TextAlign? align}) → TextStyle
Main comments sheet header (e.g. localized "Comments").
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited