Created
June 30, 2020 11:29
-
-
Save NITIN-ME/0240bb73315bc61ee6bed98102922bf2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<String> lst = List<String>(); | |
class PartyInvite extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
backgroundColor: Colors.orange, | |
actions: <Widget>[ | |
GestureDetector( | |
onTap: (){ | |
Navigator.pushNamed(context, '/invites', arguments: lst); | |
}, | |
child: Container( | |
padding: EdgeInsets.all(16), | |
child: Icon(Icons.content_paste, color: Colors.black,) | |
), | |
), | |
], | |
title: Center( | |
child: Text( | |
'Party Invite', | |
style: TextStyle( | |
fontFamily: 'cursive', | |
fontSize: 32, | |
color: Colors.black, | |
), | |
) | |
), | |
), | |
body: MyBody(), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment