TableStyle class

Used for styling table with padding, colors etc.

Constructors

TableStyle({int? paddingLeft, int? paddingRight, List<String>? header, List<String>? border, bool? compact})
const
TableStyle.fromMap(Map<String, dynamic> map)
factory
TableStyle.noColor()
factory

Properties

border List<String>
Sequence of chalkdart keywords that will be used to construct style string for table borders
final
compact bool
Use compact layout with no decorations
final
hashCode int
The hash code for this object.
no setterinherited
Sequence of chalkdart keywords that will be used to construct style string for table headers
final
paddingLeft int
Sets padding space on the left
final
paddingRight int
Sets padding space on the right
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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