uiLabel method

Widget uiLabel({
  1. required String data,
  2. Key? key,
  3. int? maxLines,
  4. bool? softWrap,
  5. TextStyle? style,
})

Provides a basic text label with the ability to make it multi-line, clip it if to long, and if necessary, make it a hyperlink.

Implementation

Widget uiLabel({
  required String data,
  Key? key,
  int? maxLines,
  bool? softWrap,
  TextStyle? style,
}) {
  return Text(
    data,
    key: key,
    maxLines: maxLines,
    softWrap: softWrap,
    style: style,
  );
}