RawMarkUp class Null safety
A widget that helps pushing raw contents to the DOM.
This widget doesn't clean or sanitize inputs. This behaviour is intentional to allow an application add Javascript into the DOM.
Example:
Span(
child: RawMarkup('<table> {...} </table>'),
)
Constructors
Properties
- correspondingTag → DomTagType
-
Corresponding HTML tag to use to render this widget
read-only, override
- hashCode → int
-
The hash code for this object.
read-only, inherited
- html → String
-
final
- initialKey → Key
-
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
widgetCaptureEventListeners
→ Map<
DomEventType, EventCallback?> -
Events that this widget is listening to in capturing phase.
read-only, inherited
-
widgetChildren
→ List<
Widget> -
Child widgets if any.
read-only, inherited
-
widgetEventListeners
→ Map<
DomEventType, EventCallback?> -
Events that this widget is listening to.
read-only, inherited
- widgetType → String
-
Type of widget.
@nonVirtual, read-only, override
Methods
-
createConfiguration(
) → WidgetConfiguration -
Create widget's configuration.
override
-
createRenderObject(
BuildContext context) → RenderObject -
Called when framework needs a RenderObject for current widget.
override
-
isConfigurationChanged(
covariant _RawMarkUpConfiguration oldConfiguration) → bool -
Whether configuration has changed.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited