Skip to content

Commit 4acba72

Browse files
authored
Merge pull request #74 from deepikahr/searchBar
Search bar
2 parents df45070 + 63c3896 commit 4acba72

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'package:flutter/material.dart';
2+
import 'package:flutter/widgets.dart';
23
import 'package:getflutter/getflutter.dart';
34

45
final List<String> imageList = [
@@ -176,7 +177,6 @@ class _MyHomePageState extends State<MyHomePage>
176177
// Container(color: Colors.blue)
177178
// ]),
178179

179-
180180
SingleChildScrollView(
181181
child: Column(
182182
mainAxisAlignment: MainAxisAlignment.center,

lib/components/drawer/gf_drawer_header.dart

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class GFDrawerHeaderPictures extends StatelessWidget {
2828
Icons.close,
2929
color: Colors.white,
3030
),
31-
onPressed: (){
31+
onPressed: () {
3232
Navigator.pop(context);
3333
},
3434
type: GFButtonType.transparent,
@@ -80,17 +80,17 @@ class GFDrawerHeader extends StatefulWidget {
8080
/// Creates a material design drawer header.
8181
///
8282
/// Requires one of its ancestors to be a [Material] widget.
83-
const GFDrawerHeader({
84-
Key key,
85-
this.decoration,
86-
this.margin = const EdgeInsets.only(bottom: 8.0),
87-
this.currentAccountPicture,
88-
this.otherAccountsPictures,
89-
this.child,
90-
this.duration = const Duration(milliseconds: 250),
91-
this.curve = Curves.fastOutSlowIn,
92-
this.closeButton
93-
}) : super(key: key);
83+
const GFDrawerHeader(
84+
{Key key,
85+
this.decoration,
86+
this.margin = const EdgeInsets.only(bottom: 8.0),
87+
this.currentAccountPicture,
88+
this.otherAccountsPictures,
89+
this.child,
90+
this.duration = const Duration(milliseconds: 250),
91+
this.curve = Curves.fastOutSlowIn,
92+
this.closeButton})
93+
: super(key: key);
9494

9595
/// The header's background. If decoration is null then a [BoxDecoration]
9696
/// with its background color set to the current theme's primaryColor is used.

0 commit comments

Comments
 (0)