raw function

  1. @Deprecated('Use RawText() instead.')
Component raw(
  1. String text, {
  2. Key? key,
})

Renders its input as raw unescaped html using RawText.

WARNING: This component does not escape any user input and is vulnerable to cross-site scripting (XSS) attacks. Make sure to sanitize any user input when using this component.

Migrate to use RawText directly instead.

Implementation

@Deprecated('Use RawText() instead.')
Component raw(String text, {Key? key}) {
  return RawText(text, key: key);
}