props property

  1. @override
Map<String, String> get props

Converts position attributes to a CSS style map.

Implementation

@override
Map<String, String> get props => {
  'top': ?top?.cssText,
  'right': ?right?.cssText,
  'bottom': ?bottom?.cssText,
  'left': ?left?.cssText,
  'z-index': ?zIndex?.toCleanString,
  'visibility': ?visibility?.value,
  ...?overflow?.styles,
  ...?extra,
};