Flutter – give `TextFormField` dynamic controller
I have a function which loads data to TextFormField from firebase . can we supply controller to the TextFormField created by following function. loadDataToTextFormField( QuerySnapshot mySnapshot, int index, String databaseField, String? bulletsAndNumberingType, TextStyle textStyle) { List getDataList = List.from(mySnapshot.docs[index][databaseField]); return…