text function

Widget text(
  1. AppModel app,
  2. BuildContext context,
  3. String data, {
  4. TextAlign? textAlign,
  5. int? maxLines,
  6. bool? softWrap,
})

Implementation

Widget text(
  AppModel app,
  BuildContext context,
  String data, {
  TextAlign? textAlign,
  int? maxLines,
  bool? softWrap,
}) {
  return StyleRegistry.registry()
      .styleWithApp(app)
      .frontEndStyle()
      .textStyle()
      .text(
        app,
        context,
        data,
        textAlign: textAlign,
        maxLines: maxLines,
        softWrap: softWrap,
      );
}