onlyText method
Implementation
onlyText(String text, {TextStyle? style}) {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Flexible(
child: Text(
text,
textScaler: const TextScaler.linear(1),
style: style ??
TextStyle(
color: ColorConstants.mildGrey,
fontSize: 20.toFont,
fontWeight: FontWeight.w400,
decoration: TextDecoration.none),
),
),
const TypingIndicator(
showIndicator: true,
flashingCircleBrightColor: ColorConstants.dullText,
flashingCircleDarkColor: ColorConstants.fadedText,
),
],
);
}