@@ -74,10 +74,10 @@ class _MyHomePageState extends State<MyHomePage>
7474 Widget build (BuildContext context) {
7575 return Scaffold (
7676 drawer: GFDrawer (
77- colorFilter: new ColorFilter .mode (
78- Colors .black .withOpacity (0.6 ), BlendMode .darken),
79- backgroundImage: NetworkImage (
80- "https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg" ),
77+ // colorFilter: new ColorFilter.mode(
78+ // Colors.teal .withOpacity(0.6), BlendMode.darken),
79+ // backgroundImage: NetworkImage(
80+ // "https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg"),
8181 gradient: LinearGradient (
8282 begin: Alignment .topRight,
8383 end: Alignment .bottomLeft,
@@ -89,6 +89,7 @@ class _MyHomePageState extends State<MyHomePage>
8989 Colors .teal[200 ],
9090 ],
9191 ),
92+ color: Colors .greenAccent,
9293 child: ListView (
9394 padding: EdgeInsets .zero,
9495 children: < Widget > [
@@ -99,7 +100,7 @@ class _MyHomePageState extends State<MyHomePage>
99100 "https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg" ),
100101 ),
101102 decoration: BoxDecoration (
102- color: Colors .teal. withOpacity ( 0.45 ) ,
103+ color: Colors .transparent ,
103104 ),
104105 otherAccountsPictures: < Widget > [
105106 Image (
@@ -115,20 +116,18 @@ class _MyHomePageState extends State<MyHomePage>
115116 mainAxisAlignment: MainAxisAlignment .start,
116117 crossAxisAlignment: CrossAxisAlignment .start,
117118 children: < Widget > [
118- Text ('user' ),
119- Text ('user@asdf .com' ),
119+ Text ('user name ' ),
120+ Text ('user@userid .com' ),
120121 ],
121122 ),
122123 ),
123124 ListTile (
124125 title: Text ('Item 1' ),
125- onTap: () {
126- Navigator .pop (context);
127- },
126+ onTap: null ,
128127 ),
129128 ListTile (
130129 title: Text ('Item 2' ),
131- onTap: () {} ,
130+ onTap: null ,
132131 ),
133132 ],
134133 ),
@@ -182,8 +181,8 @@ class _MyHomePageState extends State<MyHomePage>
182181 children: < Widget > [
183182 GFSearchBar (
184183 searchList: list,
185- hideSearchBoxWhenItemSelected: false ,
186- overlaySearchListHeight: 100.0 ,
184+ // hideSearchBoxWhenItemSelected: false,
185+ // overlaySearchListHeight: 100.0,
187186 searchQueryBuilder: (query, list) {
188187 return list
189188 .where ((item) =>
@@ -192,17 +191,17 @@ class _MyHomePageState extends State<MyHomePage>
192191 },
193192 overlaySearchListItemBuilder: (item) {
194193 return Container (
195- padding: const EdgeInsets .all (12 ),
194+ padding: const EdgeInsets .all (8 ),
196195 child: Text (
197196 item,
198197 style: const TextStyle (fontSize: 18 ),
199198 ),
200199 );
201200 },
202- noItemsFoundWidget: Container (
203- color: Colors .green,
204- child: Text ("no items found" ),
205- ),
201+ // noItemsFoundWidget: Container(
202+ // color: Colors.green,
203+ // child: Text("no items found... "),
204+ // ),
206205 onItemSelected: (item) {
207206 setState (() {
208207 print ('ssssssss $item ' );
0 commit comments