RulerValueView constructor
const
RulerValueView({
- required int maxLetterCount,
- required String value,
- TextStyle? style,
- AlignmentGeometry alignment = AlignmentDirectional.center,
- Key? key,
Creates a value displaying widget.
maxLetterCount is used to determine the maximal width used by value. If style is null, DefaultTextStyle will be used.
Implementation
const RulerValueView({
required this.maxLetterCount,
required this.value,
this.style,
this.alignment = AlignmentDirectional.center,
super.key,
});