SegmentPosition class Null safety

Position of segment on display.

Constructors

SegmentPosition(double left, double top)
Creates SegmentPosition with left and top offset.
const
SegmentPosition.colon(Size size, double padding)
Creates SegmentPosition for colon segment.
SegmentPosition.decimalPoint(Size size, double padding)
Creates SegmentPosition for decimal point segment.
SegmentPosition.fourteenA(Size size, double padding)
/////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// Creates SegmentPosition for top segment in 14-segment display.
SegmentPosition.fourteenB(Size size, double padding)
Creates SegmentPosition for top right vertical segment in 14-segment display.
SegmentPosition.fourteenC(Size size, double padding)
Creates SegmentPosition for bottom right vertical segment in 14-segment display,
SegmentPosition.fourteenD(Size size, double padding)
Creates SegmentPosition for bottom segment in 14-segment display.
SegmentPosition.fourteenE(Size size, double padding)
Creates SegmentPosition for bottom left vertical segment in 14-segment display.
SegmentPosition.fourteenF(Size size, double padding)
Creates SegmentPosition for top left vertical segment in 14-segment display.
SegmentPosition.fourteenG1(Size size, double padding)
Creates SegmentPosition for middle left segment in 14-segment display.
SegmentPosition.fourteenG2(Size size, double padding)
Creates SegmentPosition for middle right segment in 14-segment display.
SegmentPosition.fourteenH(Size size, double padding)
Creates SegmentPosition for top left diagonal segment in 14-segment display.
SegmentPosition.fourteenI(Size size, double padding)
Creates SegmentPosition for top center segment in 14-segment display.
SegmentPosition.fourteenJ(Size size, double padding)
Creates SegmentPosition for top right diagonal segment in 14-segment display.
SegmentPosition.fourteenK(Size size, double padding)
Creates SegmentPosition for bottom left diagonal segment in 14-segment display.
SegmentPosition.fourteenL(Size size, double padding)
Creates SegmentPosition for bottom center vertical segment in 14-segment display.
SegmentPosition.fourteenM(Size size, double padding)
Creates SegmentPosition for bottom right diagonal segment in 14-segment display.
SegmentPosition.sevenA(Size size, double padding)
/////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// Creates SegmentPosition for top segment in 7-segment display.
SegmentPosition.sevenB(Size size, double padding)
Creates SegmentPosition for top right segment in 7-segment display.
SegmentPosition.sevenC(Size size, double padding)
Creates SegmentPosition for bottom right segment in 7-segment display.
SegmentPosition.sevenD(Size size, double padding)
Creates SegmentPosition for bottom segment in 7-segment display.
SegmentPosition.sevenE(Size size, double padding)
Creates SegmentPosition for bottom left segment in 7-segment display.
SegmentPosition.sevenF(Size size, double padding)
Creates SegmentPosition for top left segment in 7-segment display.
SegmentPosition.sevenG(Size size, double padding)
Creates SegmentPosition for middle segment in 7-segment display.
SegmentPosition.sixteenA1(Size size, double padding)
/////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// Returns SegmentPosition for top left horizontal segment in 16-segment display.
SegmentPosition.sixteenA2(Size size, double padding)
Returns SegmentPosition for top right horizontal segment in 16-segment display.
SegmentPosition.sixteenB(Size size, double padding)
Returns SegmentPosition for top right vertical segment in 16-segment display.
SegmentPosition.sixteenC(Size size, double padding)
Returns SegmentPosition for bottom right vertical segment in 14-segment display.
SegmentPosition.sixteenD1(Size size, double padding)
Returns SegmentPosition for bottom left horizontal segment in 16-segment display.
SegmentPosition.sixteenD2(Size size, double padding)
Returns SegmentPosition for bottom right horizontal segment in 16-segment display.
SegmentPosition.sixteenE(Size size, double padding)
Returns SegmentPosition for bottom left vertical segment in 16-segment display.
SegmentPosition.sixteenF(Size size, double padding)
Returns SegmentPosition for top left vertical segment in 16-segment display.
SegmentPosition.sixteenG1(Size size, double padding)
Returns SegmentPosition for middle left segment in 16-segment display.
SegmentPosition.sixteenG2(Size size, double padding)
Returns SegmentPosition for middle right segment in 16-segment display.
SegmentPosition.sixteenH(Size size, double padding)
Returns SegmentPosition for top left diagonal segment in 16-segment display.
SegmentPosition.sixteenI(Size size, double padding)
Returns SegmentPosition for top center vertical segment in 16-segment display.
SegmentPosition.sixteenJ(Size size, double padding)
Returns SegmentPosition for top right diagonal segment in 16-segment display.
SegmentPosition.sixteenK(Size size, double padding)
Returns SegmentPosition for bottom left diagonal segment in 16-segment display
SegmentPosition.sixteenL(Size size, double padding)
Returns SegmentPosition for bottom center vertical segment in 16-segment display.
SegmentPosition.sixteenM(Size size, double padding)
Returns SegmentPosition for bottom right diagonal segment in 16-segment display.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
left double
Offset from left.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
top double
Offset from top.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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