import 'package:flutter/cupertino.dart'; class SetSpecsList { TextEditingController _specsNameController; List _specsValues = []; TextEditingController get specsNameController => _specsNameController; List get specsValues => _specsValues; set specsValues(List value) { _specsValues = value; } SetSpecsList(){ _specsNameController = TextEditingController(); } }