File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff 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 ),
Original file line number Diff line number Diff line change 11import 'package:flutter/foundation.dart' ;
22import 'package:flutter/widgets.dart' ;
33import 'package:flutter/material.dart' ;
4+ import 'package:getflutter/colors/gf_color.dart' ;
45
56/// The possible alignments of a [GFDrawer] .
67enum 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) {
You can’t perform that action at this time.
0 commit comments