Skip to content

Instantly share code, notes, and snippets.

@NITIN-ME
Created June 30, 2020 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NITIN-ME/0240bb73315bc61ee6bed98102922bf2 to your computer and use it in GitHub Desktop.
Save NITIN-ME/0240bb73315bc61ee6bed98102922bf2 to your computer and use it in GitHub Desktop.
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