FlexPrint class

Constructors

FlexPrint({int maxWidth = 80, int minPadding = 1, Overflow overflow = Overflow.truncate, bool useStringbuffer = false})
FlexPrint - uses the flex layout system to print columns in a row. [...]

Properties

chunks List<Map<String, dynamic>>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
maxWidth int
final
minPadding int
final
overflow Overflow
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringBuffer StringBuffer
read-only
useStringbuffer bool
final

Methods

horizontalLine({String char = '-', bool doubleLine = false}) → void
prints a horizontal line to the whole width. The line is drawn using default char -, you may choose any other char. The default is a single line char. By specifying doubleLine = true, a double line is drawn with =.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
write(String chunk, {int flex = 1, Alignment alignment = Alignment.start}) → void
write column chunk, flex (defaults to 1). Flex determines the number of parts of the row this column shall occupy. Think of flex like a fraction. If the row has 10 columns and this column has a flex = 3, then the column shall occupy 3/10ths or 30% of the width of the row. [...]

Operators

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