use textfield controller from constructor

This commit is contained in:
Rafeek Alkhoudare
2025-05-28 01:48:37 -05:00
parent 1db069e9a5
commit ee244fa5ed
2 changed files with 3 additions and 1 deletions

View File

@ -132,6 +132,7 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
SpaceNameTextfieldWidget(
isNameFieldExist: isNameFieldExist,
isNameFieldInvalid: isNameFieldInvalid,
nameController: nameController,
screenWidth: screenWidth,
onChange: (value) {
enteredName = value.trim();