CellStyle class

Styling class for cells

Constructors

CellStyle({String fontColorHex = 'FF000000', String backgroundColorHex = 'none', int? fontSize, String? fontFamily, HorizontalAlign horizontalAlign = HorizontalAlign.Left, VerticalAlign verticalAlign = VerticalAlign.Bottom, TextWrapping? textWrapping, bool bold = false, Underline underline = Underline.None, bool italic = false, int rotation = 0})

Properties

backgroundColor ↔ String
Get Background Color
getter/setter pair
fontColor ↔ String
Get Font Color
getter/setter pair
fontFamily ↔ String?
Get FontFamily
getter/setter pair
fontSize ↔ int?
Get Font Size
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
horizontalAlignment ↔ HorizontalAlign
Get Horizontal Alignment
getter/setter pair
isBold ↔ bool
Get Bold
getter/setter pair
isItalic ↔ bool
Get Italic
getter/setter pair
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
rotation ↔ int
Get Rotation
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
underline ↔ Underline
Get Underline
getter/setter pair
verticalAlignment ↔ VerticalAlign
Get Vertical Alignment
getter/setter pair
wrap ↔ TextWrapping?
Get Wrapping
getter/setter pair

Methods

copyWith({String? fontColorHexVal, String? backgroundColorHexVal, String? fontFamilyVal, HorizontalAlign? horizontalAlignVal, VerticalAlign? verticalAlignVal, TextWrapping? textWrappingVal, bool? boldVal, bool? italicVal, Underline? underlineVal, int? fontSizeVal, int? rotationVal}) → CellStyle
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