DividerLine class

A full-width rule, for separating sections of a receipt. Plain, it is dashes edge to edge. Give it a label and it reads as that label followed by fill running on to the width — a cut here ======== tear line, say.

Inheritance

Constructors

DividerLine({String label = '', String fill = '-'})
const

Properties

fill → String
The character the rule is drawn with. A dash by default.
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
Text at the start of the rule, before the fill. Empty draws a plain rule.
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
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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