Item<double> constructor

Item<double>({String name, double quantity, ItemBodyBuilder<double> builder, ValueToString<double> valueToString })

Implementation

Item({this.name, this.quantity, this.builder, this.valueToString})
    : textController =
          new TextEditingController(text: valueToString(quantity));