reactiveStyle property

String Function()? reactiveStyle
final

Extra inline CSS style string, appended after style with "; ".

Evaluated reactively in the browser without re-creating the DOM element.

Div(
  reactiveStyle: () => "transform: translateX(${offset.value}px)",
)

Implementation

final String Function()? reactiveStyle;