Text constructor

const Text(
  1. String text,
  2. {Key? key,
  3. String? title,
  4. String? style,
  5. String? className,
  6. bool? hidden,
  7. EventCallback? onClick}
)

Implementation

const Text(
  this.text, {
  Key? key,
  String? title,
  String? style,
  String? className,
  bool? hidden,
  EventCallback? onClick,
}) : super(
        key: key,
        title: title,
        style: style,
        className: className,
        hidden: hidden,
        onClick: onClick,
        innerText: text,
      );