RectSegmentStyle class Null safety

Simple rectangular SegmentStyle.

Horizontal and vertical segments have rectangular shape, diagonal segments have 'skewed' rectangular shape.

Inheritance

Constructors

RectSegmentStyle({Size? segmentBaseSize, Color? enabledColor, Color? disabledColor})
Creates rectangular SegmentStyle.
const

Properties

disabledColor Color
Color of every disabled segment.
finalinherited
enabledColor Color
Color of every enabled segment.
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
segmentBaseSize Size
Base size of every segment - used as a size ratio for each segment.
finalinherited

Methods

copyWith({Size? segmentBaseSize, Color? enabledColor, Color? disabledColor, double? segmentSpacing}) SegmentStyle
override
createColonPath(Size segmentSize, double padding) Path
Creates path for colon (:) segment.
inherited
createDecimalPointPath(Size segmentSize, double padding) Path
Creates path for decimal point (.) segment.
inherited
createDiagonalBackwardPath(SegmentPosition position, Size segmentSize) Path
Creates path for diagonal 'backward' (\) segments.
override
createDiagonalForwardPath(SegmentPosition position, Size segmentSize) Path
Creates path for diagonal 'forward' (/) segments.
override
createHorizontalPath(SegmentPosition position, Size segmentSize) Path
Creates path for horizontal (-) segments.
override
createPath14A(Size segmentSize, double padding) Path
Creates path for top segment in 14-segment display.
inherited
createPath14B(Size segmentSize, double padding) Path
Creates path for top right segment in 14-segment display.
inherited
createPath14C(Size segmentSize, double padding) Path
Creates path for bottom right segment in 14-segment display.
inherited
createPath14D(Size segmentSize, double padding) Path
Creates path for bottom segment in 14-segment display.
inherited
createPath14E(Size segmentSize, double padding) Path
Creates path for bottom left segment in 14-segment display.
inherited
createPath14F(Size segmentSize, double padding) Path
Creates path for top left segment in 14-segment display.
inherited
createPath14G1(Size segmentSize, double padding) Path
Creates path for middle left segment in 14-segment display.
inherited
createPath14G2(Size segmentSize, double padding) Path
Creates path for middle right segment in 14-segment display.
inherited
createPath14H(Size segmentSize, double padding) Path
Creates path for top left diagonal segment in 14-segment display.
inherited
createPath14I(Size segmentSize, double padding) Path
Creates path for top center vertical segment in 14-segment display.
inherited
createPath14J(Size segmentSize, double padding) Path
Creates path for top right diagonal segment in 14-segment display.
inherited
createPath14K(Size segmentSize, double padding) Path
Creates path for bottom left diagonal segment in 14-segment display.
inherited
createPath14L(Size segmentSize, double padding) Path
Creates path for bottom center vertical segment in 14-segment display.
inherited
createPath14M(Size segmentSize, double padding) Path
Creates path for bottom right diagonal segment in 14-segment display.
inherited
createPath16A1(Size segmentSize, double padding) Path
Creates path for top right horizontal segment in 16-segment display.
inherited
createPath16A2(Size segmentSize, double padding) Path
Creates path for top left horizontal segment in 16-segment display.
inherited
createPath16B(Size segmentSize, double padding) Path
Creates path for top right vertical segment in 16-segment display.
inherited
createPath16C(Size segmentSize, double padding) Path
Creates path for bottom right vertical segment in 14-segment display.
inherited
createPath16D1(Size segmentSize, double padding) Path
Creates path for bottom right horizontal segment in 16-segment display.
inherited
createPath16D2(Size segmentSize, double padding) Path
Creates path for bottom left horizontal segment in 16-segment display.
inherited
createPath16E(Size segmentSize, double padding) Path
Creates path for bottom left vertical segment in 16-segment display.
inherited
createPath16F(Size segmentSize, double padding) Path
Creates path for top left vertical segment in 16-segment display.
inherited
createPath16G1(Size segmentSize, double padding) Path
Creates path for middle left segment in 16-segment display.
inherited
createPath16G2(Size segmentSize, double padding) Path
Creates path for middle right segment in 16-segment display.
inherited
createPath16H(Size segmentSize, double padding) Path
Creates path for top left diagonal segment in 16-segment display.
inherited
createPath16I(Size segmentSize, double padding) Path
Creates path for top center vertical segment in 16-segment display.
inherited
createPath16J(Size segmentSize, double padding) Path
Creates path for top right diagonal segment in 16-segment display.
inherited
createPath16K(Size segmentSize, double padding) Path
Creates path for bottom left diagonal segment in 16-segment display.
inherited
createPath16L(Size segmentSize, double padding) Path
Creates path for bottom center segment in 16-segment display.
inherited
createPath16M(Size segmentSize, double padding) Path
Creates path for bottom right diagonal segment in 16-segment display.
inherited
createPath7A(Size segmentSize, double padding) Path
Creates path for top segment in 7-segment display.
inherited
createPath7B(Size segmentSize, double padding) Path
Creates path for top right segment in 7-segment display.
inherited
createPath7C(Size segmentSize, double padding) Path
Creates path for bottom right segment in 7-segment display.
inherited
createPath7D(Size segmentSize, double padding) Path
Creates path for bottom segment in 7-segment display.
inherited
createPath7E(Size segmentSize, double padding) Path
Creates path for bottom left segment in 7-segment display.
inherited
createPath7F(Size segmentSize, double padding) Path
Creates path for top left segment in 7-segment display.
inherited
createPath7G(Size segmentSize, double padding) Path
Creates path for middle segment in 7-segment display.
inherited
createVerticalPath(SegmentPosition position, Size segmentSize) Path
Creates path for vertical (|) segments.
override
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