Skip to content

Instantly share code, notes, and snippets.

@NITIN-ME

NITIN-ME/main.dart

Created Jun 30, 2020
Embed
What would you like to do?
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