text function

Component text(
  1. String text
)

Utility method to create a Text component.

Implementation

Component text(String text) {
  return Text(text);
}