setLinearGradient method

  1. @ControllerProps(NodeProps.linearGradient)
void setLinearGradient(
  1. T viewModel,
  2. VoltronMap? value
)

Implementation

@ControllerProps(NodeProps.linearGradient)
void setLinearGradient(T viewModel, VoltronMap? value) {
  if (value != null) {
    viewModel.linearGradient = value;
  }
}