textField function

Widget? textField(
  1. BuildContext context, {
  2. String? text,
})

Implementation

Widget? textField(BuildContext context, {String? text}) {
  if (text != null) {
    return textPadding(
      text,
      style: textStyleBodyS(context),
      textAlign: TextAlign.center,
    );
  }
  return null;
}