CellStyle class
An immutable style describing how to create header/cell
Constructors
- CellStyle({Alignment alignment = Alignment.center, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, double height = 60, double width = 100})
-
const
- CellStyle.cell()
-
factory
-
factory
- CellStyle.header()
-
factory
Properties
- alignment → Alignment
-
final
- color → Color?
-
The color to paint behind the
child
.final - decoration → Decoration?
-
The decoration to paint behind the
child
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- padding → EdgeInsetsGeometry?
-
Empty space to inscribe inside the decoration. The
child
, if any, is placed inside this padding.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
final
Methods
-
apply(
Widget child, int row, int column, {CellStyleType type = CellStyleType.cell}) → Widget -
getHeight(
{required int row}) → double -
getWidth(
{required int column}) → double -
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