Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions successful_page.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import 'package:flutter/material.dart';
import 'package:luncha/screens/user/home.dart';

class SuccessfulPage extends StatelessWidget {


@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Container(
child:Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(Icons.check_circle,
size: 200,
color: Colors.green,),
Text('YOU HAVE',style: TextStyle(
fontSize: 30
),),
Text('SUCCESSFULLY',style: TextStyle(
fontSize: 30
),),
Text('PLACED YOUR',style: TextStyle(
fontSize: 30
),),
Text('ORDER',style: TextStyle(
fontSize: 30
),),
SizedBox(height: 30,),
ElevatedButton(
onPressed: (){
return Navigator.pushReplacement(context,
MaterialPageRoute(builder: (context) => UserHomePage()
)
);
},
child: Text('CLOSE'),
)
],
),
),
),
);
}
}