textField function

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

Create text field

Implementation

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