text function

Component text(
  1. String text
)

Utility method to create a text component when using jaspr html methods.

Implementation

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