NudgeText constructor
const
NudgeText(
- NudgeBox box, {
- required String text,
- required double fontSize,
- required FontWeight weight,
- required Color color,
- required TextAlign align,
- double? lineHeight,
- List<
NudgeTextSpan> spans = const [],
Implementation
const NudgeText(
super.box, {
required this.text,
required this.fontSize,
required this.weight,
required this.color,
required this.align,
this.lineHeight,
this.spans = const [],
});