Created
November 15, 2019 14:15
-
-
Save TechieBlossom/caae89be4f11780dfcb2e7d41cdcfe4e 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
body: SingleChildScrollView( | |
child: Column( | |
children: <Widget>[ | |
Container( | |
margin: const EdgeInsets.symmetric(horizontal: 20, vertical: 10), | |
decoration: BoxDecoration( | |
color: Color(0xFFE0E0E0), | |
borderRadius: BorderRadius.all(Radius.circular(30)), | |
), | |
child: TextField( | |
cursorColor: Colors.grey, | |
style: TextStyle(fontSize: 16.0, color: Colors.black), | |
decoration: InputDecoration( | |
prefixIcon: Icon( | |
Icons.search, | |
color: Colors.grey, | |
size: 16, | |
), | |
border: InputBorder.none, | |
hintText: "Search google products", | |
hintStyle: TextStyle(color: Colors.grey, fontSize: 14.0)), | |
), | |
), | |
], | |
), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment