props property

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

Converts state colors to a CSS style map of global variables.

Implementation

@override
Map<String, String> get props => {
  Tokens.current.focusBorderColor.name: ?focusColor?.value,
  Tokens.current.fieldHoverColor.name: ?hoverColor?.value,
  Tokens.current.hoverColor.name: ?hoverColor?.value,
  Tokens.current.buttonHoverBgColor.name: ?hoverBackgroundColor?.value,
  Tokens.current.errorColor.name: ?errorTextColor?.value,
  Tokens.current.disabledBgColor.name: ?disabledBackgroundColor?.value,
  Tokens.current.disabledColor.name: ?disabledColor?.value,
};