style property

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

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

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

Implementation

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