NiimbotLabelLayout class

Controls the physical canvas and placement of all text on a label.

Constructors

NiimbotLabelLayout({NiimbotLabelSize size = NiimbotLabelSize.mm50x30, NiimbotLabelOrientation orientation = NiimbotLabelOrientation.portrait, NiimbotLabelAlignment horizontalAlignment = NiimbotLabelAlignment.center, NiimbotLabelAlignment verticalAlignment = NiimbotLabelAlignment.center, double padding = 2})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
horizontalAlignment → NiimbotLabelAlignment
final
orientation → NiimbotLabelOrientation
final
padding → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → NiimbotLabelSize
final
verticalAlignment → NiimbotLabelAlignment
final

Methods

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

Operators

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