style property
An inline CSS style for the element.
..style = {
'width': '${state.progress * 100}%',
'display': state.isHidden ? 'none' : '',
}
Implementation
DomPropsMixin get dom => DomProps(null, props);@override
Map<String, dynamic>? get style => _conditionallyUnconvertStyle(_raw$UbiquitousDomProps$style);