className property

  1. @override
String? get className

String of space-delimited CSS classes to be added to the resultant DOM.

All over_react components merge any added classes with this prop and the classNameBlacklist prop (see UiComponent.forwardingClassNameBuilder).

Implementation

@override
String? get className =>
    (props[_$key__className___$CssClassPropsMixin] ?? null) as String?;
  1. @override
set className (String? value)

String of space-delimited CSS classes to be added to the resultant DOM.

All over_react components merge any added classes with this prop and the classNameBlacklist prop (see UiComponent.forwardingClassNameBuilder).

Implementation

@override
set className(String? value) =>
    props[_$key__className___$CssClassPropsMixin] = value;