style property

  1. @override
Map<String, dynamic>? get style
inherited

An inline CSS style for the element.

..style = {
  'width': '${state.progress * 100}%',
  'display': state.isHidden ? 'none' : '',
}

See: facebook.github.io/react/tips/inline-styles.html

Implementation

DomPropsMixin get dom => DomProps(null, props);@override
Map<String, dynamic>? get style => _conditionallyUnconvertStyle(_raw$UbiquitousDomProps$style);
  1. @override
set style (Map<String, dynamic>? value)
inherited

Implementation

Map<String, dynamic>? get style => _conditionallyUnconvertStyle(_raw$UbiquitousDomProps$style);@override
set style(Map<String, dynamic>? value) => _raw$UbiquitousDomProps$style = value;