Created
May 12, 2020 06:13
-
-
Save theindianappguy/522eb163aea6a85868bf40e7a42f5588 to your computer and use it in GitHub Desktop.
InputDecoration textFieldInputDecoration for Flutter Chat App
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
InputDecoration textFieldInputDecoration(String hintText) { | |
return InputDecoration( | |
hintText: hintText, | |
hintStyle: TextStyle(color: Colors.white54), | |
focusedBorder: | |
UnderlineInputBorder(borderSide: BorderSide(color: Colors.white)), | |
enabledBorder: | |
UnderlineInputBorder(borderSide: BorderSide(color: Colors.white))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment