disabledText static method
Creates a Text widget with disabled styling.
Parameters:
context: The build context to access theme datatext: The text to displaytextAlign: Optional text alignment
Implementation
static Widget disabledText(BuildContext context, String text,
{TextAlign? textAlign}) {
return Text(text, style: disabledTextStyle(context), textAlign: textAlign);
}