value<T> static method

ServiceWidget<ValueService<T>> value<T>(
  1. T value
)

Implementation

static ServiceWidget<ValueService<T>> value<T>(T value) =>
    ServiceWidget(init: (widget) => ValueService(widget, value: value));