FButtonSpinnerStyle.inherit constructor

FButtonSpinnerStyle.inherit({
  1. required Color enabled,
  2. required Color disabled,
})

Creates a FButtonSpinnerStyle that inherits its properties from the given enabled and disabled.

Implementation

FButtonSpinnerStyle.inherit({
  required Color enabled,
  required Color disabled,
}) : this(
        enabledSpinnerColor: enabled,
        disabledSpinnerColor: disabled,
      );