Created
October 26, 2021 11:43
-
-
Save gupta-shrinath/32728b10d1da5139da4e8adf6140c0b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TextFormField( | |
keyboardType: keyboard, | |
controller: controller, | |
maxLines: lines, | |
decoration: InputDecoration( | |
//contentPadding: EdgeInsets.all(12), | |
hintText: placeholder, | |
enabledBorder: border, | |
prefixIcon: SizedBox( | |
child: Center( | |
child: Text('₹'), | |
), | |
), | |
), | |
onChanged: onChangeFunction != null ? onChangeFunction : null, | |
onFieldSubmitted: onFieldSubmitted != null ? onFieldSubmitted : null, | |
onEditingComplete: | |
onEditingComplete != null ? onEditingComplete : null, | |
onTap: onTap != null ? onTap : null, | |
onSaved: onSaved != null ? onSaved : null, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment