ForgeColumn class

Creates a column

Constructors

ForgeColumn({required String title, int size = 1, bool sortable = false, TextStyle textStyle = const TextStyle(fontWeight: FontWeight.bold), Color backgroundColor = Colors.white, TextAlign align = TextAlign.left})

Properties

align TextAlign
Text alignment of the entire column (rows included)
getter/setter pair
backgroundColor Color
Color of the header background
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
The weight of the column.
Three columns with a weight of 1,3,4 means that the first column will occupy 1/8 of the available horizontal space, the second will occupy 3/8 of the space and the last 4/8 of the space
getter/setter pair
sortable bool
If the column can be sorted or not
getter/setter pair
textStyle TextStyle
Style of the header text
getter/setter pair
title String
Title the will be shown on the header of the column
getter/setter pair

Methods

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