Skip to content

Instantly share code, notes, and snippets.

@TechieBlossom
Created November 15, 2019 14:15
Show Gist options
  • Save TechieBlossom/caae89be4f11780dfcb2e7d41cdcfe4e to your computer and use it in GitHub Desktop.
Save TechieBlossom/caae89be4f11780dfcb2e7d41cdcfe4e to your computer and use it in GitHub Desktop.
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