SegmentDisplay constructor
const
SegmentDisplay({})
Implementation
const SegmentDisplay({
Key? key,
required this.value,
required this.characterMap,
double? size,
SegmentStyle? segmentStyle,
this.characterCount,
double? characterSpacing,
Color? backgroundColor,
}) : size = size ?? 10.0,
segmentStyle = segmentStyle ?? const DefaultSegmentStyle(),
characterSpacing = characterSpacing ?? 7.0,
backgroundColor = backgroundColor ?? const Color(0xff000000),
super(key: key);