SingleLineText function
Implementation
Text? SingleLineText(String? text, {TextAlign? alignment, TextStyle? style}) => text == null
? null
: Text(
text,
textAlign: alignment,
style: style,
maxLines: 1,
softWrap: false,
overflow: TextOverflow.fade,
);