-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathwaiting_session.dart
More file actions
59 lines (53 loc) · 1.96 KB
/
waiting_session.dart
File metadata and controls
59 lines (53 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// import 'package:flutter/material.dart';
// import 'kiosk_session.dart';
// import '../database/db_account.dart';
// class WaitingSession extends StatelessWidget {
// //Session1
// AccountObject currentUser; //Receive from Home
// // WaitingSession(this.currentUser);
// // AccountObject otherPerson = user2; //Receive from Backend if in session
// // int sessionID = 0; //Receive from Backend if in session
// // String notInSession = ''; //Receive from Backend if not in session
// @override
// Widget build(BuildContext context) {
// //String accountstuID = currentUser.studentID; //Send to Backend
// double screenSizeHeight = MediaQuery.of(context).size.height;
// double screenSizeWidth = MediaQuery.of(context).size.width;
// return Scaffold(
// appBar: AppBar(
// title: Text('Waiting Session'),
// // actions: <Widget>[
// // //For Testing Only
// // IconButton(
// // icon: Icon(
// // Icons.navigate_next,
// // ),
// // onPressed: () {
// // Navigator.of(context).push(
// // MaterialPageRoute(builder: (context) => new KioskSession(currentUser,sessionID,otherPerson)),
// // );
// // },
// // )
// // ],
// ),
// body: Center(
// //child: GestureDetector(
// //onTap: () {
// //Send/Receive when this is press
// //if in session pusj to KioskSession , if not stay at samepage
// // Navigator.of(context).push(
// // MaterialPageRoute(
// // builder: (context) =>
// // new KioskSession(currentUser, sessionID, otherPerson)),
// // );
// // },
// child: Icon(
// Icons.refresh,
// size: screenSizeWidth / 1.5,
// color: Colors.pink[200],
// ),
// ),
// // ),
// );
// }
// }