Skip to content

Commit 8229234

Browse files
committed
gfsearchboc completed
1 parent f6be5f9 commit 8229234

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

example/lib/main.dart

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,18 @@ class _MyHomePageState extends State<MyHomePage>
116116
mainAxisAlignment: MainAxisAlignment.start,
117117
crossAxisAlignment: CrossAxisAlignment.start,
118118
children: <Widget>[
119-
Text('user'),
120-
Text('user@asdf.com'),
119+
Text('user name'),
120+
Text('user@userid.com'),
121121
],
122122
),
123123
),
124124
ListTile(
125125
title: Text('Item 1'),
126-
onTap: () {
127-
Navigator.pop(context);
128-
},
126+
onTap: null,
129127
),
130128
ListTile(
131129
title: Text('Item 2'),
132-
onTap: () {},
130+
onTap: null,
133131
),
134132
],
135133
),

lib/components/drawer/gf_drawer.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'package:flutter/foundation.dart';
22
import 'package:flutter/widgets.dart';
33
import 'package:flutter/material.dart';
4+
import 'package:getflutter/colors/gf_color.dart';
45

56
/// The possible alignments of a [GFDrawer].
67
enum GFDrawerAlignment {
@@ -107,7 +108,7 @@ class GFDrawer extends StatelessWidget {
107108
final Gradient gradient;
108109

109110
/// Defines the background color of the drawer
110-
final Color color;
111+
final dynamic color;
111112

112113
@override
113114
Widget build(BuildContext context) {

0 commit comments

Comments
 (0)