-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* changed the yourdost link, minor changes in page & webview plugin changed * version update
- Loading branch information
1 parent
d964780
commit 5363e66
Showing
7 changed files
with
50 additions
and
29 deletions.
There are no files selected for viewing
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,18 @@ | ||
import 'dart:io'; | ||
|
||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_inappwebview/flutter_inappwebview.dart'; | ||
import 'package:scp/utils/chatArgs.dart'; | ||
import 'package:webview_flutter/webview_flutter.dart'; | ||
|
||
class ChatView extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
final ChatArguments args = ModalRoute.of(context).settings.arguments; | ||
return SafeArea( | ||
child: Scaffold( | ||
body: WebView( | ||
initialUrl: args.url, | ||
javascriptMode: JavascriptMode.unrestricted, | ||
zoomEnabled: true, | ||
onWebResourceError: (error) { | ||
print(error.errorCode); | ||
return CircularProgressIndicator(); | ||
}, | ||
onProgress: (int progress) { | ||
print("WebView is loading (progress : $progress%)"); | ||
}), | ||
body: InAppWebView( | ||
initialUrlRequest: URLRequest(url: Uri.parse(args.url)), | ||
), | ||
)); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ import 'package:scp/utils/sizeConfig.dart'; | |
import 'package:url_launcher/url_launcher.dart'; | ||
|
||
final String aboutText = | ||
"Institute Counselling Services, NIT Rourkela is a noble initiative by the current Director, Prof. Animesh Biswas. This service deals with various important aspects of a student’s life. It addresses Academic, Financial, Mental and Socio-cultural issues, ensuring a seamless transition from home to hostel life for the freshmen and making life at NITR more enjoyable. \n\n" | ||
"Institute Counselling Services, NIT Rourkela is a noble initiative by the former Director, Prof. Animesh Biswas. This service deals with various important aspects of a student’s life. It addresses Academic, Financial, Mental and Socio-cultural issues, ensuring a seamless transition from home to hostel life for the freshmen and making life at NITR more enjoyable. \n\n" | ||
"The objective of ICS is to prepare the students for a confident approach towards life and to bring about a voluntary change in themselves. The goal of counselling is to help individuals overcome their immediate problems and also to equip them to meet future problems. The goals of counselling are appropriately concerned with fundamental and basic aspects such as self-understanding and self-actualization.\n\n" | ||
"The service has 7 faculty members, including the Head of Unit, Prof. Pawan Kumar and 12 Student Coordinators and 11 Prefects. The Coordinators monitor the overall functioning, manage the events, programs and initiatives of ICS. Each Prefect has been assigned a set number of mentors who in turn take care of the mentees from the freshman year. Experienced mentors interact with the freshers to bridge the Junior-Senior gap and also provide personal and professional support. Professional support is provided to all the students and faculty of the institute through online counselling platform YourDOST. Institute Counselling Services also has at their premises at campus a Counsellor and a Psychiatrist, who professionally deal with various students and faculty isssues. "; | ||
|
||
|
@@ -121,6 +121,23 @@ class AboutSCP extends StatelessWidget { | |
}, | ||
), | ||
), | ||
Padding( | ||
padding: const EdgeInsets.only(top: 30, bottom: 15), | ||
child: Center( | ||
child: Text( | ||
"ADVISOR", | ||
textAlign: TextAlign.center, | ||
style: TextStyle( | ||
fontSize: 24, | ||
fontWeight: FontWeight.w500, | ||
fontFamily: 'PfDin', | ||
color: Color.fromRGBO(74, 232, 190, 1), | ||
), | ||
), | ||
), | ||
), | ||
contactCard( | ||
context, "Amlan Das", "[email protected]", "8637252603"), | ||
Padding( | ||
padding: const EdgeInsets.only(top: 30, bottom: 15), | ||
child: Center( | ||
|
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
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
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