CellStyle class

Styling class for cells

Constructors

CellStyle({ExcelColor fontColorHex = ExcelColor.black, ExcelColor backgroundColorHex = ExcelColor.none, int? fontSize, String? fontFamily, FontScheme? fontScheme, HorizontalAlign horizontalAlign = HorizontalAlign.Left, VerticalAlign verticalAlign = VerticalAlign.Bottom, TextWrapping? textWrapping, bool bold = false, Underline underline = Underline.None, bool italic = false, int rotation = 0, Border? leftBorder, Border? rightBorder, Border? topBorder, Border? bottomBorder, Border? diagonalBorder, bool diagonalBorderUp = false, bool diagonalBorderDown = false, NumFormat numberFormat = NumFormat.standard_0})

Properties

backgroundColor ↔ ExcelColor
Get Background Color
getter/setter pair
bottomBorder ↔ Border
Get BottomBorder
getter/setter pair
diagonalBorder ↔ Border
Get DiagonalBorder
getter/setter pair
diagonalBorderDown ↔ bool
Get DiagonalBorderDown
getter/setter pair
diagonalBorderUp ↔ bool
Get DiagonalBorderUp
getter/setter pair
fontColor ↔ ExcelColor
Get Font Color
getter/setter pair
fontFamily ↔ String?
Get FontFamily
getter/setter pair
fontScheme ↔ FontScheme
Get FontScheme
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
leftBorder ↔ Border
Get LeftBorder
getter/setter pair
numberFormat ↔ NumFormat
getter/setter pair
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
rightBorder ↔ Border
Get RightBorder
getter/setter pair
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
topBorder ↔ Border
Get TopBorder
getter/setter pair
underline ↔ Underline
Get Underline
getter/setter pair
verticalAlignment ↔ VerticalAlign
Get Vertical Alignment
getter/setter pair
wrap ↔ TextWrapping?
Get Wrapping
getter/setter pair

Methods

copyWith({ExcelColor? fontColorHexVal, ExcelColor? backgroundColorHexVal, String? fontFamilyVal, FontScheme? fontSchemeVal, HorizontalAlign? horizontalAlignVal, VerticalAlign? verticalAlignVal, TextWrapping? textWrappingVal, bool? boldVal, bool? italicVal, Underline? underlineVal, int? fontSizeVal, int? rotationVal, Border? leftBorderVal, Border? rightBorderVal, Border? topBorderVal, Border? bottomBorderVal, Border? diagonalBorderVal, bool? diagonalBorderUpVal, bool? diagonalBorderDownVal, NumFormat? numberFormat}) → 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